This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, C/C++] Add -fno-float to forbid floating point data types
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Thomas Preud'homme <thomas dot preudhomme at arm dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 12 Aug 2014 14:56:40 +0000
- Subject: RE: [PATCH, C/C++] Add -fno-float to forbid floating point data types
- Authentication-results: sourceware.org; auth=none
- References: <000701cfb60f$5b859700$1290c500$ at arm dot com> <alpine dot DEB dot 2 dot 11 dot 1408121128240 dot 1593 at laptop-mg dot saclay dot inria dot fr> <000801cfb617$304428b0$90cc7a10$ at arm dot com>
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