Open sonoro1234 opened 4 years ago
https://github.com/jmeubank/mingw-w64/blob/master/mingw-w64-headers/crt/_mingw.h.in#L560
make V=1
and post the command line used?-save-temps
to the FreeImage.cpp command line and attach the resulting FreeImage.i file to this issue?__cplusplus
defined?with mingw32-make VERBOSE=1
the command line shown is
C:\TDM-GCC-64\bin\g++.exe -DDISABLE_PERF_MEASUREMENT -DFreeImage_EXPORTS -DNO_LCMS -DOPJ_STATIC -DWINVER=0x0500 -D__ANSI__ @CMakeFiles/FreeImage.dir/includes_CXX.rsp -O2 -g -DNDEBUG -std=gnu++98 -o CMakeFiles\FreeImage.dir\Source\FreeImage\FreeImage.cpp.obj -c C:\LuaGL\gitsources\FreeImageORIG\Source\FreeImage\FreeImage.cpp
adding -save-temps
to the command line FreeImage.ii is generated (.txt added for uploading)
* Is `__cplusplus` defined?
I cant be sure, but I guess it is, because a cpp file is compiled by g++.exe?
I have tried with just released tdm-gcc I have checked that __cplusplus is defined modifying the source with
#if defined(__cplusplus)
#warning "__cplusplus is defined"
#else
#warning "__cplusplus is NOT defined"
#endif
Hi,
Downloaded tdm64-gcc-9.2.0.exe and installed. Trying to compile FreeImage I am getting this error
Is there something I can do to solve it?
Thanks Victor Bombi