I'm using Code::Blocks and I'm getting this warning message "warning: deprecated conversion from string constant to ‘char*’". How can I disable it?
I googled and it's present in GCC 4.2.3+ and can be disabled by one of these:
-Wno-deprecated
-Wno-write-string
The thing is, I can't find any such setting in Code::Block's IDE Any clues how to disable it (globally, I would really hate to set it up for each project separately)?
#1Acharis
Posted 25 November 2012 - 06:00 PM
I'm using Code::Blocks and I'm getting this useless warning message "warning: deprecated conversion from string constant to ‘char*’". How can I disable it?
I googled and it's present in GCC 4.2.3+ and can be disabled by one of these:
-Wno-deprecated
-Wno-write-string
The thing is, I can't find any such setting in Code::Block's IDE Any clues how to disable it (globally, I would really hate to set it up for each project separately)?