lkml.org 
[lkml]   [2000]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.4.0-test6-pre1 -- Warnings in arch/i386/math-emu.
I notice that kernels are no longer set to compile with
-Werror, but in case people still care, here are the
warnings I hit today in arch/i386/math-emu:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_add_sub.o reg_add_sub.c
reg_add_sub.c: In function `FPU_sub':
reg_add_sub.c:143: warning: `tag' might be used uninitialized in this
function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_compare.o reg_compare.c
reg_compare.c: In function `FPU_compare_st_data':
reg_compare.c:177: warning: `f' might be used uninitialized in this
function
reg_compare.c: In function `compare_st_st':
reg_compare.c:219: warning: `f' might be used uninitialized in this
function
reg_compare.c: In function `compare_u_st_st':
reg_compare.c:271: warning: `f' might be used uninitialized in this
function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_ld_str.o reg_ld_str.c
reg_ld_str.c: In function `FPU_store_single':
reg_ld_str.c:635: warning: `templ' might be used uninitialized in this
function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_divide.o reg_divide.c
reg_divide.c: In function `FPU_div':
reg_divide.c:206: warning: control reaches end of non-void function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_mul.o reg_mul.c
reg_mul.c: In function `FPU_mul':
reg_mul.c:131: warning: control reaches end of non-void function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.027 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site