https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69782

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
The fix is easy in this case, just #include <math.h> after the macro
definition.

luminance-hdr-2.3.0/src/HdrCreation/robertson02.cpp 
From  
 30 #include "arch/math.h"                                                      
 31 #include "arch/minmax.h"                                                    
 32                                                                             
 33 #include <iostream>  

To 
 30 #include "arch/minmax.h"                                                    
 31 #include "arch/math.h"                                                      
 32                                                                             
 33 #include <iostream>

Reply via email to