My code use DBL_MIN with warning option "-Wold-style-cast -Werror". But I found DBL_MIN definition has changed in gcc4.5.0 When use "./cpp -dM /dev/null", I got : #define __DBL_MIN__ ((double)2.22507385850720138309e-308L)
Why gcc use old style cast in macro? -- Summary: __DBL_MIN__ result in old-style-cast Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: buaa_figo at 126 dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45038