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

Reply via email to