ok. i am using:
Version 1.0 revision 3164 (2006-11-01 12:09:43) gcc 3.4.5 Windows/unicode
the same problem appears with RC1.
i am not sure which is the relevant info of the compiler log, but here you see that i really specified --add-stdcall-alias:
mingw32-g++.exe -shared -Wl,--output-def=libFiducialTracker.def -Wl,--out-implib=libFiducialTracker.a -Wl,--dll -LC:\Dev\Dev-Cpp\lib .objs\FiducialObject.o .objs\FiducialTracker.o .objs\FreeFrame.o .objs\libfidtrack\dump_graph.o .objs\libfidtrack\fidtrack120.o .objs\libfidtrack\fidtrackX.o .objs\libfidtrack\segment.o .objs\libfidtrack\threshold.o .objs\libfidtrack\tiled_bernsen_threshold.o .objs\libfidtrack\topologysearch.o .objs\libfidtrack\treeidmap.o -o FiducialTracker.dll --add-stdcall-alias -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
Creating library file: libFiducialTracker.a
Process terminated with status 0 (0 minutes, 3 seconds)