1
0
Fork 0

Stop silencing disabled C4786 MSVC warning

This is old, and disabled by default in new MSVC compilers.
It was purely infomational warning:

"object name was truncated to 'number' characters in the debug
information"

Regardless, even if we'll decide to silence it again for any reason,
then it should be configured in VS project and not using ifdefed
pragma in the code.
This commit is contained in:
Patryk Obara 2019-12-29 16:36:22 +01:00 committed by Patryk Obara
parent 475e315943
commit 0506aaf436
2 changed files with 0 additions and 11 deletions

View file

@ -16,14 +16,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef DOSBOX_CONTROL_H
#define DOSBOX_CONTROL_H
#ifdef _MSC_VER
#pragma warning ( disable : 4786 )
#endif
#ifndef DOSBOX_PROGRAMS_H
#include "programs.h"
#endif

View file

@ -16,15 +16,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef DOSBOX_SETUP_H
#define DOSBOX_SETUP_H
#ifdef _MSC_VER
#pragma warning ( disable : 4786 )
#endif
#ifndef CH_LIST
#define CH_LIST
#include <list>