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
Post a Comment