Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter


 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions