c++ - How to disable Wmaybe-uninitialized warning -


i want disable "wmaybe-uninitialized" warning. use omnet++ ( base on c++ ) simulate project. there anyway disable warning ? found following code , doesn't work.

#pragma gcc diagnostic push #pragma gcc diagnostic ignored "-wunused-variable" #pragma gcc diagnostic ignored "-wmaybe-uninitialized" #pragma gcc diagnostic pop 


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -