Problem on a machine with sys/sysmacros.h

Daniel Franke franke.daniel@gmail.com
Wed Feb 21 15:21:00 GMT 2007


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