[Development] check, Mate!

Thiago Macieira thiago.macieira at intel.com
Mon Jan 9 15:05:41 CET 2012


On Monday, 9 de January de 2012 14.46.54, =?ISO-8859-1?Q?G=E1bor?= Lehel 
wrote:
> Yet more:
> - major
> - minor
> 
> These are defined to gnu_dev_major and gnu_dev_minor, I'm not quite
> sure by what (GCC? glibc?).

/usr/include/sys/sysmacros.h:# define major(dev) gnu_dev_major (dev)

$ grep include.*sys/sysmacros.h /usr/include/**/*.h
/usr/include/sys/types.h:# include <sys/sysmacros.h>

So those are bad, they get included with sys/types.h.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120109/fe49dc5e/attachment.sig>


More information about the Development mailing list