lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation error with CVS 2006-Nov-01 10:05 MET


From: Han-Wen Nienhuys
Subject: Re: compilation error with CVS 2006-Nov-01 10:05 MET
Date: Wed, 01 Nov 2006 23:01:02 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20061008)

Werner LEMBERG escreveu:
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?

Because we are anal retentive. However, I think you are right, and we should just use -Werror for testing purposes.

--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]