Re: Error messages seems to be faulty
Leon Pollak <[email protected]> Mon, 10 May 2021 09:44:27 +0300
| Newsgroups | gmane.comp.kde.users.kdevelop |
|---|---|
| Message-ID | <[email protected]> |
Thank you, Joan, for your reply. Unfortunately, MsgError and S2M resides in the same directory. More than that, when I place cursor of MsgErro it tells me the correct place of its definition. When i switch to there, find the reference to the Assert1 and place cursor on it - it shows me the correct place of its definition too. All of them reside in the same directory. Now, I m not sure I know how to "add to KDevelop's search directories". This directory resides in the include_directories() clause of my CMakeLists.txt file - isn't it enough? One more remark - the definition of Assert1 is inside ifdef-else, although its different definitions reside in both cases. Again, thank you. On 09/05/2021 18:21, Juan RamÃrez wrote: Any chance that Assert1 is defined in a file that has not been added to KDevelop's search directories? You may want to check the headers where MsgError and/or S2M are defined and look for any error mark in the #include directives. Good luck! On Sun, May 9, 2021 at 11:10 AM Leon Pollak <[email protected] > wrote: Hello, all. In my project I sometimes see such things as: This is despite the compilation passing without any even warning. Is there any way to remove these messages? I work with 5.6.2 version. Thanks -- Leon -- Juan :wq Leon
gjenglnjencpkgei.png
(image/png, 13 KB) - not displayed