[PATCH, C/C++] Add -fno-float to forbid floating point data types

Joseph S. Myers joseph@codesourcery.com
Tue Aug 12 14:56:00 GMT 2014


On Tue, 12 Aug 2014, Thomas Preud'homme wrote:

> However it's true that it prevents including math.h for instance.

And stdlib.h (strtod) and time.h (difftime) and wchar.h (wcstod).  Is that 
your intent?  Note that glibc stdlib.h has an atof inline definition, it's 
not just a matter of prototypes.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list