Re: Question about gcc-3.3.3 and __attribute__ usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Williams <tomdkat@xxxxxxxxxxx> writes:

> Apparently, the Linux 2.6 kernel headers were changed to use
> __attribute_const__ syntax instead of __attribute__((const)):

__attrbute_const__ is not valid gcc syntax.

However, it is a preprocessor macro defined by the Linux sources which
expands into valid gcc syntax.  I think the file is
include/linux/compiler.h, or some such.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux