"Note: Required From" Always treated as compiler error

General questions regarding the usage of CodeLite
User avatar
caibbor
CodeLite Veteran
Posts: 78
Joined: Thu Jan 10, 2013 10:37 pm
Genuine User: Yes
IDE Question: c++
Contact:

"Note: Required From" Always treated as compiler error

Post by caibbor »

The "Note: Required From" output from G++ is always treated by CodeLite as an error even when it is referring to a warning.

I once posted about this (alongside a few other issues) in this old closed bug: https://github.com/eranif/codelite/issues/474

The October stable release of CodeLite still does this.

The "Settings -> Build Settings ->Compilers->g++->patterns" section has been moved or removed.

Can we finally get this fixed? (or, if it's somehow a setting that saved to my own project, how the heck do I fix this?)
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: "Note: Required From" Always treated as compiler error

Post by eranif »

You can define it locally and send it as a pull request.
Its a configuration issue:

settings->build settings->compilers->YOUR COMPILER->patterns

and add a regex to cover this case in the 'Warning section'

Eran
Make sure you have read the HOW TO POST thread
User avatar
caibbor
CodeLite Veteran
Posts: 78
Joined: Thu Jan 10, 2013 10:37 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: "Note: Required From" Always treated as compiler error

Post by caibbor »

where is this "patterns" button of which you speak?
patterns.png
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: "Note: Required From" Always treated as compiler error

Post by eranif »

We had to change the server on which codelite.org is hosted, so we lost the nighties in the process...
What you are seeing here is a bug which was fixed in 9.0.1... (BUG: build tabs are hidden)

Hopefully, we will release 9.1 this week with a fix included

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: "Note: Required From" Always treated as compiler error

Post by eranif »

UPDATE:
I have updated CodeLite 9.0.9 weekly build for 64 bit Windows
You can grab it from the download page

Eran
Make sure you have read the HOW TO POST thread
Post Reply