Recompiling kernel : warning messages - why?
I get messages like these when I recompile my kernel:
Code:
i810_dma.c:531: warning: concatenation of string literals with __FUNCTION__ is deprecated Code:
usr/src/linux-2.4.18-26.8.0/include/linux/modules/suspend.ver:2:1: warning: this is the location of the previous definition Code:
{standard input}:1198: Warning: indirect lcall without `*' 1. The sections of code are old but just haven't been taken out. 2. The sections of code are current but not matched to my hardware (and perhaps that section of code shouldn't be compiled at all!). 3. The gcc messages are just progress markers for Mr. Cox and Mr. Torvalds, and are not actually warnings. Any ideas? Q*Bert |
which version of gcc are you compiling with if its a version 3 or above I think this is what causes the errors.
|
They've always appeared, even when I used gcc2.9*.
|
In longer projects there are always pieces of code which are not 100% clean. When a programmer know why warnings appears and accepts it, everything's OK. Plus there might be old code accepted by prevous versions of gcc (<2.9).
|
All times are GMT -5. The time now is 10:35 AM. |