C::B and VS2005 Compiler

This is a discussion on C::B and VS2005 Compiler within the Tech Board forums, part of the Community Boards category; Anyone else use this set up? I have been playing with it, but I keep getting errors for this or ...

  1. #1
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094

    C::B and VS2005 Compiler

    Anyone else use this set up? I have been playing with it, but I keep getting errors for this or that and I may just end up going back to using MinGW.

    I plan on working with others that use VS, but really would prefer to code using C::B so I am trying to figure out a nice medium. I have VS 2005 SE installed so I can compile any of their code, but in general do you think that code written on MinGW should compile no problem on VS?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,554
    > but in general do you think that code written on MinGW should compile no problem on VS?
    Yes, but this is a compiler issue, not an IDE issue.

    Of course, all parties need to have a pretty good grasp of what is standard C++ and what is a GNU / Microsoft extension (both camps have many).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    msvs2005 includes a lot of non-standard stuff aside from c++/cli that require extra steps to exclude. With windows programming, the mingw win32api headers are incomplete at best when compared with msvc or the psdk. The libraries are okay with the exception of those containing statically linked code because they are essentially built from the system dlls. While you can convert a lot of libs and construct headers using msdn, in practice this can be complex and very time consuming. MinGW's COM support is limited. MinGW's libstdc++ does not implement wide character support although you can use a third party library such as stlport to get around this current limitation.

    c89 is fine for both compilers; mingw is the only one of the two that will compile c99.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21