User forums > Using Code::Blocks
No IDE-Support for C++11 initialization syntax?
(1/1)
ZaHaDum1984:
Hello Coders,
If I write C++ code, I use features of the C++11 standard.
Unfortunately Code::Blocks seems to be unable to handle the C++11 initialization syntax for variables.
--- Code: ---// old syntax
int i = 0;
// C++11 syntax
int i {0};
--- End code ---
Whenever I want to use a variable which I have initialized by using the C++11 syntax, I don't get any help/completion/suggestion from the IDE. That is very unfortunate. >:(
How can I fix this issue?
Greetings
ZaHaDum1984
oBFusCATed:
--- Quote from: ZaHaDum1984 on January 26, 2017, 02:51:10 pm ---How can I fix this issue?
--- End quote ---
Use the clang code completion plugin (requires manual compilation) or provide a patch for our parser.
Navigation
[0] Message Index
Go to full version