This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: FX <fxcoudert at gmail dot com>, Fortran List <fortran at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Sun, 17 May 2009 08:38:56 -0700
- Subject: Re: [fortran,patch] Use new stdint.h-related macros in ISO_C_BINDING
- References: <F28153B5-1A1C-4900-B06B-FDA0D32E6934@gmail.com> <4A1007F9.8090004@net-b.de>
On Sun, May 17, 2009 at 02:50:01PM +0200, Tobias Burnus wrote:
> FX wrote:
> > Bootstrapped and regtested on x86_64-linux (both -m32 and -m64). OK to
> > commit?
> OK from my side. If I understood it correctly, FreeBSD might be affected
> as well but Gerald planned to work on a patch. I have no overview about
> other platforms
>
The patch breaks FreeBSD.
In file included from ../../gcc4x/gcc/fortran/trans-types.c:335:
../../gcc4x/gcc/fortran/iso-c-binding.def: In function 'init_c_interop_kinds':
../../gcc4x/gcc/fortran/iso-c-binding.def:58: error: 'INTPTR_TYPE' undeclared (first use in this function)
../../gcc4x/gcc/fortran/iso-c-binding.def:58: error: (Each undeclared identifier is reported only once
../../gcc4x/gcc/fortran/iso-c-binding.def:58: error: for each function it appears in.)
../../gcc4x/gcc/fortran/iso-c-binding.def:65: error: 'INT8_TYPE' undeclared (first use in this function)
../../gcc4x/gcc/fortran/iso-c-binding.def:67: error: 'INT16_TYPE' undeclared (first use in this function)
../../gcc4x/gcc/fortran/iso-c-binding.def:69: error: 'INT32_TYPE' undeclared (first use in this function)
../../gcc4x/gcc/fortran/iso-c-binding.def:71: error: 'INT64_TYPE' undeclared (first use in this function)
IMHO :-) ,
this patch cannot be committed until Joseph fixes the problem he
introduced for FreeBSD.
--
Steve