Author Topic: gcc old version compatible problem in 10.05,how to set gcc to version 3.42?  (Read 3724 times)

Offline qingtianyu9

  • Single posting newcomer
  • *
  • Posts: 2
My code write in gcc 3.42,There has some error when compiling with gcc 4.42 in codeblocks 10.05,there is any way to set gcc to 3.42 in codeblocks 10.05?

I installed dev-c++ 4.9.9.2 and codeblocks 10.05.

dev-c++ 4.9.9.2 (gcc 3.42) can compile with not error.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
The best thing is to fix your code :)

Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
So you can use as many compilers as you like.
You have to installed them and setup C::B to use them.

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline qingtianyu9

  • Single posting newcomer
  • *
  • Posts: 2
Thanks very much!