User forums > Help
Code::Blocks with MSVC 6 and MS VC 2005
(1/1)
Shadow Eater:
Hi :),
my name is Shadow Eater and this is the first time i visit this :Dgreat forum!
I'm new to Code::Blocks, till now i used it only with GNU GCC Compiler.
But now i want to use VC6 and VC2005!
Do you know how i can do this ?
I mean in Build ->>Compiler Options there is no VC 6 and VC 2005 :!: :!: :!:
Is there a Tutorial or can you give me a step by step tut ?
Many Thanx :) :) :)
Shadow Eater
killerbot:
first : make sure you are using a nightly build ( and not RC2)
in the compiler options you can choose as compiler :
- Microsoft Visual C++ Toolkit 2003
- Microsoft Visual C++ 2005
It is the second one you want. MSVC6 is not supported. Just a personal note on this : get rid of that one, it is bad, totally not standard compliant (consider the following code)
--- Code: ---for( int idx = 0; idx < 5; ++idx)
{
; // do stuf
}
for( int idx = 0; idx < 15; ++idx)
{
; // do other stuf
}
--- End code ---
the scope does not terminate of the idx, it's scope should be the for loop.
Ok, this changed to C++ in 1998 and MsVC6 was released in 1998, well we know M$ was always visionairy ;-)
It was not fixed through a service pack for MsVC6 because existing code could break (bad code like this )
--- Code: ---for( int idx = 0; idx < 5; ++idx)
{
; // do stuf
}
for( idx = 0; idx < 15; ++idx)
{
; // do other stuf
}
--- End code ---
Shadow Eater:
O.K first tx 4 your fast reply killerbot!
In the Compiler Options there wasn't Ms VC 2005 to choose!
I used the RC2 Build, now i uninstalled it, do you know where i can get a proper release ?
Thx
SE
killerbot:
everyday there's a new nightly at :
http://forums.codeblocks.org/index.php?board=20.0
First read on how to use/install them please.
Navigation
[0] Message Index
Go to full version