I cannot find a reliable document on how to avoid warnings with a pragma. The documentation says that the warning pragma is compatible with Microsoft compiler so it should be:
#pragma warning ( push )
#pragma warning ( disable:1234 )
#pragma warning ( pop )
which is not working with icc (ICC) 15.0.3 20150407
on a GNU/Linux system.
However, what is working is:
#pragma warning disable 1234
I could not find any working syntax for the push/pop however. Does somebody know where to look to get some official documentation about that?