El Mar 03 Feb 2004 10:37, Mads Martin Joergensen escribió:
* Alfredo Cole
[Feb 03. 2004 16:26]: Dear SuSE users:
I am trying to compile a program which compiles correctly using gcc 3.3 and SuSE 8.2. However, under 9, i get the following error:
/usr/include/wx/repwrt.h:196 error: parse error before '*' token
Is this a problem with SuSE 9? Is it ok to install the version of gcc that comes with 8.2 in my 9 box? Please point the way to any docs that could be useful in solving this problem.
You'll get that error with any compiler, the problem is elsewhere. Can you show us the entire compilelog please?
-- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?" -- A. P. J.
Under SuSE 8.2, this is the result: alfredo@toshiba:~/wxWindows/samples/report> make -f makefile.unx c++ -o report report.o repwrt.o `wx-config --libs` alfredo@toshiba:~/wxWindows/samples/report> Under SuSE 9.0, is as follows: brojas@wsjefe-sist:~/wxWindows/samples/report> make -f makefile.unx c++ -c `wx-config --cxxflags` -o report.o report.cpp In file included from report.cpp:34: /usr/include/wx/repwrt.h:196: error: error de decodificación before `*' to make: *** [report.o] Error 1 brojas@wsjefe-sist:~/wxWindows/samples/report> error de decodificación = parse error. Both have repwrt.h in the same directory, and both are using wxGTK 2.4.2. Thank you. -- Alfredo J. Cole alfredo@acyc.com alfredo@clshonduras.com