>> >Some function prototypes (in both .h and .c files) specify attributes
>> >like __init and __exit in the prototype. gcc (at least at 3.3.3) uses
>> >the last such attribute that is actually specified, without issuing a
>> >warning.
>>
>> How does gcc 2.95 handle it, requiring __init in both spots?
>
>gcc 3.2 is now required for mainline kernel.
>
Sure, but I asked because I maintain one piece of code (ttyrpld) that
should compile for both 2.4 and 2.6. OTOH, I could use it to make people
convert to 2.6 ;-)
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]