Problem on a machine with sys/sysmacros.h

Benjamin Réveillé benjamin.reveille@gmail.com
Wed Feb 21 15:58:00 GMT 2007


Is sysmacros.h generated at compile of gfortran/gcc ? Since I did not
compile this gfortran/gcc but retrived that compiled by FX on a
different machine/distro/... then maybe that is the problem then and
not a bug at all.

I'll try and compile locally.

Benjamin

On 2/21/07, Daniel Franke <franke.daniel@gmail.com> wrote:
> 2007/2/21, Benjamin Réveillé <benjamin.reveille@gmail.com>:
>
> > line 66-70 of sysmacros.h is:
> > __inline unsigned int
> > __NTH (gnu_dev_major (unsigned long long int __dev))
> > {
> >   return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
> > }
> >
> > This seems to be the same as yours.
> >
> > __NTH however is not defined in /usr/include/sys/cdefs.h on the
> > machine with the problem
> > It is however defined on the machine that has no problem. So I guess
> > you've found the source of the problem.
> >
> > So the last question is "is this a new PR or the reopening of PR30678
> > or a problem with my work distro ?
>
> I'm not so sure, but even IF this is a problem with your distribution,
> fixincludes is supposed to fix it. So, I'd suggest you open a new PR.
>
>    Daniel
>



More information about the Fortran mailing list