Disable #pragma message("")

Posted by Balls-of-steel on Stack Overflow See other posts from Stack Overflow or by Balls-of-steel
Published on 2010-04-04T05:25:34Z Indexed on 2010/04/04 5:33 UTC
Read the original article Hit count: 604

Hi, I needed to include in my project but there is a line, in glut.h which is

#pragma message("Note: including lib: glut32.lib\n")

It is really annoying and I want to get rid of it when compiling. I could just remove the line in my glut.h but I want my fix to be independent of the glut.h.

I have tried setting #pragma warnings to show only critical info, and I have also tried

#pragma message disable

but nothing worked.

Any help?

© Stack Overflow or respective owner

Related posts about pragma

Related posts about message-queue