Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:24 Go to next message
Martin Kendel is currently offline Martin KendelFriend
Messages: 1
Registered: February 2020
Junior Member
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] Thu, 13 February 2020 03:27 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
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 Apr 27 01:20:50 GMT 2024

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

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

Back to the top