Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Compiling Code::Blocks with the MS compiler

(1/5) > >>

280Z28:
The SVN version doesn't compile with it.

Is anyone even interested in support for this?

takeshimiya:
I'm really interested, but I've tried some time ago, and failed.

I really would like to see that C::B can be compiled with: MSVC, DMars, and Intel compilers.

280Z28:
OK I got the core working and the AStyle plugin :)

Now I'm finishing up with the other main plugins.

It still builds fine in GCC with my changes... better, actually. :woot:

rickg22:
280: Mind explaining what changes are you making so we can understand and maybe cooperate?
Have you tested that GCC doesn't get broken?

280Z28:

--- Quote from: rickg22 on January 22, 2006, 05:35:09 am ---280: Mind explaining what changes are you making so we can understand and maybe cooperate?
Have you tested that GCC doesn't get broken?
--- End quote ---

Some of the changes are:

Strings:

--- Code: ---Old: _T("text" "moretext")
New: _T("text") _T("moretext")
--- End code ---

Multiple inheritance (one example)
ProjectManager must derive from wxEvtHandler, THEN from Mgr<ProjectManager>:

--- Code: ---class WXDLLIMPEXP_CB ProjectManager : public wxEvtHandler, public Mgr<ProjectManager>
--- End code ---

dllimport/dllexport... lots of changes to the way these were used and it works in GCC and MSVC now, and obviously won't change non-msw builds.

Fixed unchecked pointer errors, etc.

Fixed incorrectly declared and incorrectly used custom events



I prefer to just check them in if I could. That'd be much easier. :)

Navigation

[0] Message Index

[#] Next page

Go to full version