User forums > General (but related to Code::Blocks)

Code::block how to support C++0x

<< < (3/4) > >>

hqt:

--- Quote ---Do you use the correct compiler for you project?
--- End quote ---
I have checked and I'm using GNU C++. is it right ?


--- Quote ---Firstly, check that you can build your code from the command line (i.e outside of Code::Blocks).
--- End quote ---
I don't know what you mean, but I have tested it on MS Studio 2010 successfully. And my program is very simple, it just tests feature of  C++0x. it just have one line:

--- Code: --- void f_function(int&&a){} // this feature just has in C++0x
--- End code ---

So, who can solve this problem for me, please.
thanks :)

zabzonk:
I can't believe that I have to explain to a programmer what a "command line" is. And I'm not going to.

oBFusCATed:

--- Quote from: hqt on November 17, 2011, 05:35:41 pm ---I have checked and I'm using GNU C++. is it right ?

--- End quote ---
Is this the compiler you've setup to use the new version of MinGW(gcc)?


--- Quote from: hqt on November 17, 2011, 05:35:41 pm ---I don't know what you mean, but I have tested it on MS Studio 2010 successfully. And my program is very simple, it just tests feature of  C++0x. it just have one line:

--- End quote ---
It means that you should open a cmd.exe window and you should type some commands to compile your code, without an IDE.

p.s. I don't know if this is still true, but MinGW have hardcoded search paths like X:\mingw\ (x can be any of the drive letters)  and if you have other version of the compiler there it takes precedence.
   So you should make sure you have only one version of MinGW on your system.

zabzonk:
You can have multiple versions of MinGW installed (I've currently got 5), but I agree for debugging the users problem getting rid of all but one would be a good idea.

oBFusCATed:
Hm, I've not said that you can't have multiple versions of MinGW, have I?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version