Is there any way to Disable -Wmultichar warning from C++ source code?

Viewed 331

I can use the compiler flag -Wno-multichar to disable the multi-character warning .But, I want to do this from source code.

So, I tried #pragma GCC diagnostic ignored "-Wmultichar" ,but it does not work.

I saw some posts from 7 years ago about this bug .Now, is there any other way to disable the warning this from my .cpp file or is it impossible???

Note:- This works in C .

0 Answers
Related