Re: Question about gcc-3.3.3 and __attribute__ usage

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

 



Ian Lance Taylor wrote:

Tom Williams <tomdkat@xxxxxxxxxxx> writes:



Any idea on what might be up? I guess the pre-processor isn't
replacing the __attribute_const__ like it should???



This is fairly unlikely.


I just took a look at linux/compiler.h in the linux 2.6.3
distribution.  That file only defines __attribute_const__ if
__KERNEL__ is defined.  You did not define the macro when compiling
your program.

Ian



Thanks.. I didn't look past the __attribute_const__ area in the header file. :)

Peace....

Tom

[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