Previous 199869 Revisions Next

r37088 Friday 10th April, 2015 at 13:34:16 UTC by Miodrag Milanović
VS2015 compile works (nw)
[scripts]genie.lua
[src/osd]osdcomm.h

trunk/scripts/genie.lua
r245599r245600
10611061      includedirs {
10621062         MAME_DIR .. "3rdparty/dxsdk/Include"
10631063      }
1064
1064configuration { "vs2015" }
1065      buildoptions {
1066         "/wd4456", -- warning C4456: declaration of 'xxx' hides previous local declaration
1067         "/wd4457", -- warning C4457: declaration of 'xxx' hides function parameter
1068         "/wd4458", -- warning C4458: declaration of 'xxx' hides class member
1069         "/wd4459", -- warning C4459: declaration of 'xxx' hides global declaration
1070         "/wd4838", -- warning C4838: conversion from 'xxx' to 'yyy' requires a narrowing conversion
1071         "/wd4091", -- warning C4091: 'typedef ': ignored on left of '' when no variable is declared
1072         "/wd4463", -- warning C4463: overflow; assigning 1 to bit-field that can only hold values from -1 to 0
1073         "/wd4297", -- warning C4297: 'xxx::~xxx': function assumed not to throw an exception but does
1074      }
1075     
10651076configuration { "x32", "vs*" }
10661077      libdirs {
10671078         MAME_DIR .. "3rdparty/dxsdk/lib/x86",
trunk/src/osd/osdcomm.h
r245599r245600
225225
226226#ifdef _MSC_VER
227227#include <malloc.h>
228#if _MSC_VER == 1900 // < VS2015
229#define __LINE__Var 0
230#endif
228231#if _MSC_VER < 1900 // < VS2015
229232#define snprintf _snprintf
230233#if _MSC_VER < 1800 // VS2013 or earlier


Previous 199869 Revisions Next


© 1997-2024 The MAME Team