compiling with warning level 4 
Author Message
 compiling with warning level 4

hi

i am compiling code with warning level 4. unfortunately compiler is
reporting few warnings in #include <mmsystem.h>. i have tried to give
#pragma warning (disable : 1623). but complier said the number is out of
range (possible number between 4001 to 4999). how i can compile it cleanly
with warning level 4? there must be a workaround for this. can anybody help
me?

sreeram



Sun, 18 Dec 2005 14:17:54 GMT  
 compiling with warning level 4
leave this question. i am silly. i have given the line number in the pragma
instead of warning code. now it is compling cleanly. :-)
sreeram


Quote:
> hi

> i am compiling code with warning level 4. unfortunately compiler is
> reporting few warnings in #include <mmsystem.h>. i have tried to give
> #pragma warning (disable : 1623). but complier said the number is out of
> range (possible number between 4001 to 4999). how i can compile it cleanly
> with warning level 4? there must be a workaround for this. can anybody
help
> me?

> sreeram



Sun, 18 Dec 2005 14:58:38 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. STL does not compile cleanly using warning level 4 (/W4)

2. Dealing with warnings & warning levels in VC

3. VC Warning level 4 and Warning C4244

4. Level 4 warnings, VC4.x and windows.h generating tons of warnings

5. Warning level 4 and warnings from the include files

6. C4201 and C4214 warnings at Compiler Warning Level 4

7. Can you disable specific warnings or change warning level per file in Visual Studio.NET

8. indirection levels warning

9. What does current LEVEL of 1.0 warning mean?

10. Warning level sticks.

11. False C4701 at warning level 4

12. Compiler Warning (level 1) C4786

 

 
Powered by phpBB® Forum Software