Cevelop: how to get rid off "Un- or ill-initialized variable" [message #1821317] |
Mon, 10 February 2020 13:24  |
Eclipse User |
|
|
|
Hi all,
I'm using Cevelop version 1.13.0-201910070714. OS Ubuntu 18.04.
Whenever I'm defining a variable "the old way", let's say
int i = 0;
a green circle with a white star in it appears to the left and complains "Un- or ill-initialized variable".
That is because the IDE wants me defining the variable "the new way",
int i {0};
Neither do I want this curly bracket initialization nor do I like the alternative beside each and every variable definition: a comment like // @suppress("Un- or ill-initialized variables") which makes the green circle disappear.
AFAIK, in older versions of Cevelop one could switch off this option globally in Preferences/C++/Code Analysis.
Unfortunately, this option doesn't seem to live there anymore.
I tried switching compile option -std from c++1z to c++11 but without success.
Can anyone tell me where I can find this global option now?
Thanks in advance
Martin
|
|
|
|
Powered by
FUDForum. Page generated in 0.02751 seconds