Steve M. Robbins writes:
 > Package: g++-4.0
 > Version: 4.0-0pre5
 > Severity: normal
 > 
 > Hi,
 > 
 > The following test code (atof.cc) elicits no warning when compiled with
 > 
 >   g++-4.0 -c -Wall atof.cc
 > 
 > but with optimization GCC complains about the standard library
 > function atof():
 > 
 >   [EMAIL PROTECTED] -c -Wall -O atof.cc
 >   atof.cc: In member function 'double A::foo()':
 >   atof.cc:15: warning: control may reach end of non-void function 'double 
 > atof(const char*)' being inlined
 >   /usr/include/stdlib.h:378: warning: control may reach end of non-void 
 > function 'double strtod(const char*, char**)' being inlined

fixed upstream, please recheck with the gcc-snapshot package


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to