>
> The gdb problem could indicate that you may be using a different MingW4
> installation than the one generated the pre-compiled binaries.
>
yes i am using mingw-w64 (32bits)
As the problem appeared just loading iup (with pre-compiled but also with my
mingw-w64 compiled binaries)
I build iup again and got this warnings:
Tecmake: compiling iupwin_dialog.c ...
C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I../include -I. -Iwin
-I../etc
-IC:/mingw32-4.8.
2-posix-dwarf/include -DLUA_BUILD_AS_DLL -DLUA_LIB -D_WIN32_WINNT=0x0501
-D_WIN32_IE=0x600
-DWINVER
=0x0501 -DNOTREEVIEW -DUNICODE -DIUP_DLL -DTEC_UNAME=dllw4 -DTEC_SYSNAME=Win32
-DTEC_LITTLEENDIAN -D
TEC_32 -DWIN32 -DNDEBUG -o ../obj/dllw4/iupwin_dialog.o win/iupwin_dialog.c
win/iupwin_dialog.c: In function 'winDialogMapMethod':
win/iupwin_dialog.c:906:5: warning: passing argument 5 of 'CoCreateInstance'
from incompatible point
er type [enabled by default]
CoCreateInstance(&CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER,
&IID_ITaskbarList3, &tbl);
^
In file included from
c:\mingw32-4.8.2-posix-dwarf\i686-w64-mingw32\include\objbase.h:14:0,
from
c:\mingw32-4.8.2-posix-dwarf\i686-w64-mingw32\include\ole2.h:17,
from
c:\mingw32-4.8.2-posix-dwarf\i686-w64-mingw32\include\wtypes.h:12,
from
c:\mingw32-4.8.2-posix-dwarf\i686-w64-mingw32\include\winscard.h:10,
from
c:\mingw32-4.8.2-posix-dwarf\i686-w64-mingw32\include\windows.h:97,
from win/iupwin_dialog.c:6:
c:\mingw32-4.8.2-posix-dwarf\i686-w64-mingw32\include\combaseapi.h:256:11:
note: expected 'void **'
but argument is of type 'struct ITaskbarList3 **'
WINOLEAPI CoCreateInstance (REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD
dwClsContext, REFIID riid,
LPVOID *ppv);
^
and also
Tecmake: compiling iupwin_tree.c ...
C:/mingw32-4.8.2-posix-dwarf/bin/gcc -c -Wall -O2 -I../include -I. -Iwin
-I../etc
-IC:/mingw32-4.8.
2-posix-dwarf/include -DLUA_BUILD_AS_DLL -DLUA_LIB -D_WIN32_WINNT=0x0501
-D_WIN32_IE=0x600
-DWINVER
=0x0501 -DNOTREEVIEW -DUNICODE -DIUP_DLL -DTEC_UNAME=dllw4 -DTEC_SYSNAME=Win32
-DTEC_LITTLEENDIAN -D
TEC_32 -DWIN32 -DNDEBUG -o ../obj/dllw4/iupwin_tree.o win/iupwin_tree.c
win/iupwin_tree.c: In function 'winTreeMsgProc':
win/iupwin_tree.c:2284:11: warning: dereferencing type-punned pointer will
break strict-aliasing rul
es [-Wstrict-aliasing]
*(HTREEITEM*)&rect = hItemChild; /* weird, but done as described
in MSDN */
^
the last called function from iup in previous backtrace was in
winDialogRegisterClass
the first error seems just a missing casting
the second is related to MSDN as you state
nothing else found!!
best
victor
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users