* [compilation err] mod_devicetable.h
@ 2004-06-02 10:37 Paweł Sikora
2004-06-02 10:48 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Paweł Sikora @ 2004-06-02 10:37 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: mmazur, cieciwa
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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-02 10:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 10:37 [compilation err] mod_devicetable.h Paweł Sikora
2004-06-02 10:48 ` Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.