|
From: Greg C. <gch...@sb...> - 2011-04-28 12:29:27
|
On 2011-04-28 08:24Z, Maxime Lecourt wrote: > > Scanning dependencies of target lp_solve5 > [ 9%] Building CXX object > src/lp_solve5/CMakeFiles/lp_solve5.dir/lp_solve5test.cpp.obj What follows is gcc output. What's not apparent here is the command used to invoke gcc. Knowing the full, exact command might make the problem transparent. > In file included from > c:\win16app\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/objbase.h:71:0, > from > c:\win16app\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/ole2.h:9, > from > c:\win16app\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/windows.h:114, > from > D:\Lecourt\workspace\otawa\..\lp_solve_5.5/lp_types.h:5, > from > D:\Lecourt\workspace\otawa\..\lp_solve_5.5/lp_lib.h:210, > from > D:\Lecourt\workspace\otawa\src\lp_solve5\lp_solve5test.cpp:2: > c:\win16app\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/wtypes.h:97:16: > error: expected unqualified-id before string constant What is line 97 of your mingw/include/wtypes.h ? I have typedef double DATE; in an installation that's probably slightly different from yours. If yours matches that line, then I'd guess that DATE is defined as a string, either by one of the lp_solve_5.5 files, or by the gcc command line actually executed by the makefile. |