This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]