![]() | |||||||||||||
Messages in this thread |
Hi, when I compile keagle (http://damien.bergamini.free.fr/ueagle/keagle.html) g++3.4.0 reports an error on .../include/linux/mod_devicetable.h:18 struct pci_device_id { __u32 vendor, device; /* Vendor and device ID or PCI_ANY_ID*/ __u32 subvendor, subdevice; /* Subsystem ID's or PCI_ANY_ID */ __u32 class, class_mask; /* (class,subclass,prog-if) triplet */ ^^^^^ mod_devicetable.h:18: error: expected identifier before ',' token mod_devicetable.h:18: error: expected unqualified-id before ',' token I can use mod_devicetable.h in userspace and c++ too. Using a c++'s keywords as a var-names is a very bad idea. Best regards, Paul. -- If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby Digital and all the music is free... - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2005-03-22 14:03 [from the cache] ©2003-2008 | |||||||||||||