Skip to main content
gamedev.net
🔒 Locked

Visual C++ Warnings

Started by BigCarlito 1 reply 300+ views
Original Post
BigCarlito
BigCarlito
Anyone know how to disable a specific warning when compiling? The warning is C4291 for example, and I''m using VC6. Thanks!
ciccio
ciccio
I think you have to write this:

#pragma warning(disable : 4291)

bye,
Zcode
Zcode
BigCarlito
BigCarlito
That was exactly what I needed, thanks!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.