the -Werror flag comes from gnuradio-core/src/lib/viterbi/Makefile: INCLUDES = -Wall -Werror
Dimitris Symeonidis "If you think you're too small to make a difference, try sleeping with a mosquito!" - Amnesty International On Fri, Oct 3, 2008 at 00:07, Josh Blum <[EMAIL PROTECTED]> wrote: > I have this error on ubuntu 8.10. The -Werror flag is there by default, I > never specified it in configure or somewhere else in the system. > > This just happened to change when I upgraded from ubuntu 8.04 > > -Josh > > Eric Blossom wrote: >> >> On Thu, Oct 02, 2008 at 11:21:55PM +0200, Dimitris Symeonidis wrote: >>> >>> i have the latest trunk (9699) >>> g++ is 4.3.1-1ubuntu2 >>> make exits with an error for gnuradio-core/src/lib/viterbi/encode.cc: >>> g++ -DHAVE_CONFIG_H -I. -I../../../.. -Wall -Werror -g -O2 -pthread >>> -pthread -Wall -Woverloaded-virtual -MT encode.o -MD -MP -MF >>> .deps/encode.Tpo -c -o encode.o encode.cc >>> cc1plus: warnings being treated as errors >>> encode.cc: In function 'int main()': >>> encode.cc:50: error: ignoring return value of 'size_t fwrite(const >>> void*, size_t, size_t, FILE*)', declared with attribute >>> warn_unused_result >>> >> >> What was your configure command? >> Any CFLAGS or CXXFLAGS set in your environment? >> >> We don't specify -Werror by default. >> >> Eric >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio