[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation error with CVS 2006-Nov-01 10:05 MET
From: |
Werner LEMBERG |
Subject: |
compilation error with CVS 2006-Nov-01 10:05 MET |
Date: |
Wed, 01 Nov 2006 15:13:00 +0100 (CET) |
I get this strange warning which consequently leads to an error:
rm -f ./out/parser.dep;
DEPENDENCIES_OUTPUT="./out/parser.dep ./out/parser.o" \
g++ -c -Woverloaded-virtual \
-DHAVE_CONFIG_H -DNDEBUG \
-I./include -I./out -I../flower/include \
-I../flower/./out -I../flower/include \
-O2 -finline-functions -g -pipe \
-Werror \
-I/usr/local/include -pthread \
-I/usr/local/include/freetype2 -I/usr/local/include \
-I/usr/local/include/pango-1.0 -I/usr/include/freetype2 \
-I/usr/local/include/glib-2.0 \
-I/usr/local/lib/glib-2.0/include \
-Wno-pmf-conversions \
-W -Wall -Wconversion \
-o out/parser.o
out/parser.cc
cc1plus: warnings being treated as errors
out/parser.cc: In function 'int yyparse(void*)':
out/parser.cc:5137: warning: label 'yyerrlab1' defined but not used
make[1]: *** [out/parser.o] Error 1
make[1]: Leaving directory `/home/wl/cvs/lilypond.compiled/lily'
Why do we have -Werror?
This is g++ (GCC) 4.0.2 20050901 (prerelease) on a GNU/Linux box; I've
just called autogen.sh, using autoconf 2.60a.
Werner
- compilation error with CVS 2006-Nov-01 10:05 MET,
Werner LEMBERG <=