Previous 199869 Revisions Next

r19728 Saturday 22nd December, 2012 at 17:13:18 UTC by Nathan Woods
MSVC compilation fixes.
[src/osd/windows]eivc.h vconv.c

trunk/src/osd/windows/vconv.c
r19727r19728
101101   { 0,      "-fomit-frame-pointer",      "" },
102102   { 0,      "-Werror",               "/WX" },
103103   //{ VS7,      "-Wall",               "/Wall /W3 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826" },
104   { VS7,      "-Wall",               "/Wall /W4 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826 /wd4820 /wd4514 /wd4668 /wd4127 /wd4625 /wd4626 /wd4512 /wd4100 /wd4310 /wd4571 /wd4061 /wd4131 /wd4255 /wd4510 /wd4610 /wd4505 /wd4324 /wd4611 /wd4201 /wd4189 /wd4296" },
104   { VS7,      "-Wall",               "/Wall /W4 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826 /wd4820 /wd4514 /wd4668 /wd4127 /wd4625 /wd4626 /wd4512 /wd4100 /wd4310 /wd4571 /wd4061 /wd4131 /wd4255 /wd4510 /wd4610 /wd4505 /wd4324 /wd4611 /wd4201 /wd4189 /wd4296 /wd4986 /wd4347" },
105105   { 0,      "-Wall",               "/W0" },
106106   { VS7,      "-Wno-unused",            "/wd4100 /wd4101 /wd4102 /wd4505" },
107107   { 0,      "-Wno-sign-compare",      "/wd4365 /wd4389 /wd4245" },
trunk/src/osd/windows/eivc.h
r19727r19728
4545#define __EIVC__
4646
4747#if (_MSC_VER >= 1400)
48
49// need to ignore 'nonstandard extension used' warning in setjmp.h
50#pragma warning(push)
51#pragma warning(disable: 4987)
4852#include <intrin.h>
53#pragma warning(pop)
54
4955#else
5056extern "C" long __cdecl _InterlockedIncrement(long volatile *);
5157extern "C" long __cdecl _InterlockedDecrement(long volatile *);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team