This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Disable "long double" real kind on mingw32
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Jan 2007 13:13:35 -0800
- Subject: Re: [gfortran] Disable "long double" real kind on mingw32
- References: <B0E1A2FF-F6CB-41CD-AAA5-2BABF5AE85E8@gmail.com>
On Mon, Jan 22, 2007 at 09:54:05PM +0100, FX Coudert wrote:
>
> The Windows printf doesn't handle "long double" right, and since this
> all floating-point values are passed to the library as long double,
> gfortran is unusable on mingw32 if it thinks it has a long double
> type. For more than one year, I've been building my gfortran mingw32
> binaries with a hack in the front-end not to use them. I'd like to
> install that on mainline, by defining a GFORTRAN_WITHOUT_LONGDOUBLE
> macro in the mingw32 config file.
>
> Do I need approval for the config/ part of the patch? (it defines a
> macro that only the Fortran front-end will use)
>
> Otherwise, and unless someone objects to the following patch in the
> next few days, I'll commit it to mainline.
>
I don't have any problems with the patch, but you'll need
approval from one of the build maintainers.
--
Steve