* Compiler warnings
@ 2008-11-19 16:16 Fred .
2008-11-19 16:23 ` Alan Cox
0 siblings, 1 reply; 3+ messages in thread
From: Fred . @ 2008-11-19 16:16 UTC (permalink / raw)
To: linux-kernel
I compiled the Linux 2.6.27.6 kernel on Ubuntu 8.10 with gcc (Ubuntu
4.3.2-1ubuntu11) 4.3.2.
The kernel doesn't compile cleanly, the compiler throws warnings.
CC [M] drivers/cdrom/cdrom.o
drivers/cdrom/cdrom.c: In function 'cdrom_print_info':
drivers/cdrom/cdrom.c:3273: warning: format not a string literal and
no format arguments
CC [M] drivers/char/riscom8.o
drivers/char/riscom8.c: In function 'riscom8_init':
drivers/char/riscom8.c:1598: warning: format not a string literal and
no format arguments
drivers/char/riscom8.c:1608: warning: format not a string literal and
no format arguments
CC [M] drivers/char/n_hdlc.o
drivers/char/n_hdlc.c: In function 'n_hdlc_init':
drivers/char/n_hdlc.c:945: warning: format not a string literal and no
format arguments
drivers/char/n_hdlc.c: In function 'n_hdlc_exit':
drivers/char/n_hdlc.c:968: warning: format not a string literal and no
format arguments
CC [M] drivers/char/hw_random/intel-rng.o
drivers/char/hw_random/intel-rng.c: In function 'intel_init_hw_struct':
drivers/char/hw_random/intel-rng.c:315: warning: format not a string
literal and no format arguments
CC [M] drivers/input/tablet/aiptek.o
drivers/input/tablet/aiptek.c: In function 'show_tabletDiagnosticMessage':
drivers/input/tablet/aiptek.c:1353: warning: format not a string
literal and no format arguments
(I don't know what this means, I am no programmer. I do not subscribe to LKML)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiler warnings
2008-11-19 16:16 Compiler warnings Fred .
@ 2008-11-19 16:23 ` Alan Cox
2008-11-20 0:41 ` Robert Hancock
0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2008-11-19 16:23 UTC (permalink / raw)
To: Fred .; +Cc: linux-kernel
On Wed, 19 Nov 2008 17:16:14 +0100
"Fred ." <eldmannen@gmail.com> wrote:
> I compiled the Linux 2.6.27.6 kernel on Ubuntu 8.10 with gcc (Ubuntu
> 4.3.2-1ubuntu11) 4.3.2.
Your compiler appears to be faulty. You should report this to Ubuntu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiler warnings
2008-11-19 16:23 ` Alan Cox
@ 2008-11-20 0:41 ` Robert Hancock
0 siblings, 0 replies; 3+ messages in thread
From: Robert Hancock @ 2008-11-20 0:41 UTC (permalink / raw)
To: linux-kernel; +Cc: Fred .
Alan Cox wrote:
> On Wed, 19 Nov 2008 17:16:14 +0100
> "Fred ." <eldmannen@gmail.com> wrote:
>
>> I compiled the Linux 2.6.27.6 kernel on Ubuntu 8.10 with gcc (Ubuntu
>> 4.3.2-1ubuntu11) 4.3.2.
>
> Your compiler appears to be faulty. You should report this to Ubuntu
>
The warnings are valid (they're coming from -Wformat-security) but I
don't believe those warnings are normally enabled in kernel compilation.
Presumably some Ubuntu gcc patch enables them by default.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-20 0:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 16:16 Compiler warnings Fred .
2008-11-19 16:23 ` Alan Cox
2008-11-20 0:41 ` Robert Hancock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox