Lxrd-AJ / gnuplot-cpp

Automatically exported from code.google.com/p/gnuplot-cpp
0 stars 0 forks source link

activated g++ Warning Flags -W -Wall -ansi -pedantic #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

 make
g++ -c -ggdb -W -Wall  -ansi -pedantic -DDEBUGGA  example.cc
example.cc:27: warning: unused parameter ‘argc’
example.cc:27: warning: unused parameter ‘argv’
g++ -c -ggdb -W -Wall  -ansi -pedantic -DDEBUGGA  gnuplot_i.cc
gnuplot_i.cc: In member function ‘Gnuplot& Gnuplot::plot_image(const
unsigned char*, unsigned int, unsigned int, const std::string&)’:
gnuplot_i.cc:848: warning: comparison between signed and unsigned integer
expressions
gnuplot_i.cc:850: warning: comparison between signed and unsigned integer
expressions
gnuplot_i.cc: In member function ‘bool Gnuplot::file_available(const
std::string&)’:
gnuplot_i.cc:1111: warning: control reaches end of non-void function
g++ -o example -ggdb -W -Wall  -ansi -pedantic example.o gnuplot_i.o -lstdc++

I have attached the modified file.

Best regards

Ettl Martin

Original issue reported on code.google.com by ettl.mar...@gmail.com on 13 Mar 2009 at 9:47

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by jeremit0@gmail.com on 15 May 2009 at 1:37