Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Cevelop: how to get rid off "Un- or ill-initialized variable"(Option to switch off pesky warning)
Cevelop: how to get rid off "Un- or ill-initialized variable" [message #1821317] Mon, 10 February 2020 13:24 Go to next message
Eclipse UserFriend
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
Re: Cevelop: how to get rid off "Un- or ill-initialized variable" [message #1821434 is a reply to message #1821317] Wed, 12 February 2020 22:27 Go to previous message
Eclipse UserFriend
Have you tried asking the Cevelop people?
It's a third party plugin and they would be better suited to answer your question.
https://github.com/cevelop/issues
Previous Topic:QT hello world
Next Topic:Make link configurations global for every project
Goto Forum:
  


Current Time: Sat Jun 21 02:00:09 EDT 2025

Powered by FUDForum. Page generated in 0.02751 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top