Mantis - gcc5core
Viewing Issue Advanced Details
5309 major always 2018-01-16 13:07 2018-01-16 13:18
vbwagner  
dam  
normal  
assigned  
open  
none    
none  
0005309: Wrong definition of INFINITY macro
After upgrading of gcc5core from 5.2.0 to 5.5.0 I've encountered problem that any program which includes math.h and uses INFINITY macro doesn't compile.

It fails with message error: __builtin_infinity undefined.

It seems that /usr/include/iso/math_c99.h contains defintion of macros INFINITY, NAN and HUGE_VAL, which are incompatible with gcc, but for some reason gcc5core package doesn't fix them in its own /usr/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/include-fixed tree, although there is patched copy of math.h
Issue History
2018-01-16 13:07 vbwagner New Issue
2018-01-16 13:17 dam Status new => assigned
2018-01-16 13:17 dam Assigned To => dam
2018-01-16 13:18 dam Note Added: 0011266

Notes
(0011266)
dam   
2018-01-16 13:18   
Indeed, this is very strange that the private header file does not get converted.