Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/libm/src/s_exp2.c:346:15: error: 'twopk' may be used uninitialized in this function
Trying to build -current with -Os flag gives the following error:
# compile libm/s_exp2.o
/opt/tools.sparc64/bin/sparc64--netbsd-gcc -O2 -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2
-Werror -mcpu=ultrasparc -pipe -Os -fno-strict-aliasing
--sysroot=/opt/obj.sparc64/destdir.sparc64 -D_MULTI_LIBM -D_POSIX_MODE
-DLIBM_SCCS -I/opt/src/lib/libm/gen
-c /opt/src/lib/libm/src/s_exp2.c -o s_exp2.o cc1: warnings being
treated as errors In file included
from /opt/src/lib/libm/src/s_exp2.c:35:0:
/opt/obj.sparc64/destdir.sparc64/usr/include/math.h:
In function 'exp2': /opt/src/lib/libm/src/s_exp2.c:346:15: error:
'twopk' may be used uninitialized in this
function /opt/src/lib/libm/src/s_exp2.c:346:15: note: 'twopk' was
declared here /opt/src/lib/libm/src/s_exp2.c:346:22: error:
'twopkp1000' may be used uninitialized in this
function /opt/src/lib/libm/src/s_exp2.c:346:22: note: 'twopkp1000' was
declared here *** [s_exp2.o] Error code 1 nbmake: stopped
in /opt/src/lib/libm 1 error
Home |
Main Index |
Thread Index |
Old Index