Again I try to compile the dnd-sample (from wxWidgets) with codeblocks.
That is my build-log
-------------- Build: Win32 DLL Unicode Debug in dnd ---------------
windres.exe -i C:\WXWIDG~1\samples\dnd\dnd.rc -J rc -o vc_mswuddll\dnd\dnd.res -O coff -I.\..\..\lib\vc_dll\mswud -I.\..\..\include -I. -I.\..\..\samples -IC:\Programme\CodeBlocks\include
mingw32-g++.exe -Wall -g -DWIN32 -D_DEBUG -D__WXMSW__ -D__WXDEBUG__ -D_UNICODE -DWXUSINGDLL -D_WINDOWS -DNOPCH -I.\..\..\lib\gcc_dll\mswud -I.\..\..\include -I. -I.\..\..\samples -IC:\Programme\CodeBlocks\include -c C:\wxWidgets\samples\dnd\dnd.cpp -o vc_mswuddll\dnd\dnd.o
mingw32-g++.exe -L.\..\..\lib\gcc_dll -LC:\Programme\CodeBlocks\lib -o vc_mswuddll\dnd.exe vc_mswuddll\dnd\dnd.o vc_mswuddll\dnd\dnd.res -lwxmsw29ud -lwxexpatd -lwxjpegd -lwxpngd -lwxregexud -lwxscintillad -lwxtiffd -lwxzlibd -mwindows
/mingw/lib/crt2.o:crt1.c:(.text+0x16a): undefined reference to `__cpu_features_init'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 32 seconds)
1 errors, 0 warnings
I build wx with MinGW (unicode, debug).