This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.5] pragma FLOAT_CONST_DECIMAL64 for decimal float support
On Fri, 27 Feb 2009, Janis Johnson wrote:
> N1312 talks about that in 7.1.1: "But unless and until it is known that
> all the headers used by a program have been modified to use an explicit
> d or D suffix on constants of type double, setting this pragma to the
> "on" state requires extreme caution."
>
> Does that mean we let users shoot themselves in the foot, or that we
> shouldn't support this pragma until decimal float support, or at least
> the use of d or D in header files, is widespread?
We let them shoot themselves in the foot, but with a strategy for getting
the headers fixed, and make sure to fix macros/headers GCC itself
defines/installs for C or ObjC users.
--
Joseph S. Myers
joseph@codesourcery.com