I'm using g_str_to_ascii()
function from glib library in KDevelop project. The function was added in glib 2.40 and I'm using even newer version of that library, but it's being marked by app as deprecated. Is there any way to guide KDevelop, to not mark that function as deprecated?
Asked
Active
Viewed 51 times
0

pako1200
- 15
- 5
-
Do you see the same warning when building your code? – arrowd Nov 18 '19 at 17:38
-
No, only in KDevelop "Problems - Parser" tool. – pako1200 Nov 18 '19 at 18:04
-
You can add `-Wdeprecated-declarations` somewhere in parser settings. – arrowd Nov 18 '19 at 18:49
-
I can add in "Configure Project -> Language Support -> C/C++ Parser" `-Wno-deprecated-declarations` and then I get rid off all deprecations warnigs, but it's not like true solution. – pako1200 Nov 20 '19 at 15:38
-
If you are using GCC, make sure that parser settings is set to GCC mode, not Clang. – arrowd Nov 20 '19 at 17:28