Nick
Nick

Reputation: 3435

How do I disable warning 4355 globally in MSVC project?

I want to disable warning 4355 globally in my MSVC C++ project. One solution would be to write

#pragma warning(default:4355)

in some prefix.h

and then #include prefix.h into all source files. But is it possible to disable this warning in project options?

Upvotes: 3

Views: 2337

Answers (1)

Alex F
Alex F

Reputation: 43311

Menu: Project - Properties - Configuration Properties - C/C++ - Advanced - Disable Specific Warnings. Type 4355.

If you need to disable several warnings, use semi-colon delimiter.

Upvotes: 6

Related Questions