hey
while compiling libvmime 0.9.1 with gcc 4.7.2 (targetting 64 bits), i
had that error
libtool: compile: x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I..
-I/opt/efl64/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1
-IC:/MinGW/msys/1.0/opt/gst/0.10/x86_64/include
-Ic:/gstreamer-sdk/0.10/x86_64/include -DDLL_EXPORT -DPIC -ansi
-pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion
-I/opt/efl64/include -I/opt/efl64/include/evil-1
-I/opt/efl64/include/evil-1
-I/opt/gst/0.10/x86_64/lib/glib-2.0/include/ -I/local/include -O2 -c
utility_smartPtrInt.cpp -DDLL_EXPORT -DPIC -o
.libs/utility_smartPtrInt.o
In file included from
c:\mingw\mingw-w64-x86_64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/objbase.h:153:0,
from
c:\mingw\mingw-w64-x86_64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/ole2.h:16,
from
c:\mingw\mingw-w64-x86_64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/windows.h:94,
from utility_smartPtrInt.cpp:28:
c:\mingw\mingw-w64-x86_64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/unknwn.h:
In member function 'HRESULT IUnknown::QueryInterface(Q**)':
c:\mingw\mingw-w64-x86_64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/unknwn.h:70:82:
error: '*' cannot appear in a constant-expression
c:\mingw\mingw-w64-x86_64\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/unknwn.h:70:82:
error: a function call cannot appear in a constant-expression
It seems a problem in unknwn.h provided by mingw-w64
Any idea ?
Vincent Torri
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public