My version of mingw32-g++ is the version bundled with CB 10.05, i.e 4.4.1 (TDM-2 mingw32).
I will try rebuilding using the instructions in your link. Presumably the reason it says that it's not a stable version is because it's old text.
I'm a bit puzzled though: since the wxWidgets stuff is all self-contained (makefiles, sources), I don't see why there should be any errors or warnings however you build it. How does it depend on the version of mingw32? Probably I'm being naive here
EDIT: Rebuilt using new instructions and now I have 2 DLLs!! wxmsw291u_gcc_custom.dll and wxmsw291u_gl_gcc_custom.dll.
I have no errors, but still a lot of warnings similar to:
Creating library file: ..\..\lib\gcc_dll\libwxmsw29u.a
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1000 ' unrecognized
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:T.1225 ' unrecognized
That's the Unicode/Release version. Should I now go ahead to create all four sets of DLLs: unicode/non-unicode release/debug ? If I want to build a wxWidgets project, can I build the main project with debug using the release version of wxWidgets? I assume I can. How about unicode/non-unicode?
Sorry for so many questions.
EDIT #2: I think I have answered my own question. When I created a new wxWidgets project in CB, I could only choose Release and Unicode to get a clean build - if I didn't check the Unicode box I got undefined reference errors, and it wouldn't build a Debug version. Therefore I need to build all four sets. Still, getting one clean build which runs is a big leap forward for me!
EDIT #3: I have managed to build both Release and Debug versions with Unicode, but I get the similar errors in Scintilla that I got before when building with UNICODE=0.