C++ .NET How to surpress warning

J

J Swift

I need to surpress the following warning that taking place during
build/re-build

*warning C4018: '<' : signed/unsigned mismatch

I don't want to fix the cause because it's part of the way the program
works, but How do surpress the warning?
 
F

Fredrik Wahlgren

J Swift said:
I need to surpress the following warning that taking place during
build/re-build

*warning C4018: '<' : signed/unsigned mismatch

I don't want to fix the cause because it's part of the way the program
works, but How do surpress the warning?

pragma warning (disable: 4018)

/Fredrik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top