This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libio/gen-params problem
- To: Krister Walfridsson <cato at df dot lth dot se>
- Subject: Re: libio/gen-params problem
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 23 Jul 2000 10:16:32 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.GSO.4.21.0007231747490.24386-100000@igloo.df.lth.se>you writ
e:
> libio/gen-params doesn't manage to create a correct _G_config.h for
> NetBSD; it fails to determine the type for _G_fpos_t, which causes synax
> errors during bootstrap.
>
> What is happening is that when it is trying to find the basic type for
> off_t, it sees that off_t is typedefed as int64_t. When it then searches
> for int64_t, it finds the line
>
> typedef long long int64_t;
>
> But this matches its sed rule 's/long long int/_G_llong/g' and the result
> don't make sense (this used to work because the line used to look as
> 'typedef long long int64_t;' but some changes in the preprocessor seems
> to have removed those redundant spaces.)
>
> The problem is solved by the patch below.
>
> /Krister
>
>
>
> Sun Jul 23 15:16:23 2000 Krister Walfridsson <cato@df.lth.se>
>
> * gen-params: Added trailing space for 'long long int' regexp.
Thanks. Installed.
jeff