|
From: <tim...@en...> - 2006-07-14 18:55:01
|
Timoth=E9e Lecomte wrote: > Ethan Merritt wrote: > =20 >> For what it's worth, compiling with "gcc -pendantic" produces the warn= ings below. >> I don't know if this is a problem for any real set of c/c++ compilers = used to >> build gnuplot with wxt support. >> >> wxterminal/gp_cairo.c:198: warning: ISO C90 forbids mixed declarations= and code >> =20 >> =20 > Thanks for the report. I fixed the warnings in CVS. > > By the way, I tried to do the same for wxt_gui.cpp, by compiling with=20 > CXX=3D'g++ -pedantic' but it fails because wxWidgets headers use the ty= pe=20 > "long long". I don't know what to do to check my code without failing o= n=20 > wxWidgets headers. Ok, I figured out that the type "long long" has been introduced in the=20 standard C99, and compiling with CXX=3D'g++ -pedantic -Wno-long-long' is=20 enough to make wxt_gui.cpp compile, without any warning. Timoth=E9e |