mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paweł Sikora" <pluto@pld-linux.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: mmazur@pld-linux.org, cieciwa@pld-linux.org
Subject: [compilation err] mod_devicetable.h
Date: Wed, 2 Jun 2004 12:37:09 +0200	[thread overview]
Message-ID: <200406021237.09205.pluto@pld-linux.org> (raw)

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...

             reply	other threads:[~2004-06-02 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 10:37 Paweł Sikora [this message]
2004-06-02 10:48 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200406021237.09205.pluto@pld-linux.org \
    --to=pluto@pld-linux.org \
    --cc=cieciwa@pld-linux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmazur@pld-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®