Previous 199869 Revisions Next

r41661 Sunday 8th November, 2015 at 16:38:37 UTC by Miodrag Milanović
Relax dependencies for softfloat (nw)
[3rdparty/softfloat]mamesf.h
[scripts/src]3rdparty.lua

trunk/3rdparty/softfloat/mamesf.h
r250172r250173
2121| implementations of C, `flag', `uint8', and `int8' should all be `typedef'ed
2222| to the same as `int'.
2323*----------------------------------------------------------------------------*/
24#include "emu.h"
24#include "assert.h"
25#include "osdcomm.h"
2526
2627typedef INT8 flag;
2728typedef UINT8 uint8;
trunk/scripts/src/3rdparty.lua
r250172r250173
9191   uuid "04fbf89e-4761-4cf2-8a12-64500cf0c5c5"
9292   kind "StaticLib"
9393
94   configuration { "vs*" }
95      buildoptions {
96         -- from lib section
97         "/wd4290", -- warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow)
98         "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
99         -- from emu section
100         "/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter   
101         "/wd4127", -- warning C4127: conditional expression is constant
102         "/wd4245", -- warning C4245: 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
103         "/wd4244", -- warning C4244: 'argument' : conversion from 'xxx' to 'xxx', possible loss of data
104         "/wd4800", -- warning C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
105         "/wd4018", -- warning C4018: 'x' : signed/unsigned mismatch
106         "/wd4150", -- warning C4150: deletion of pointer to incomplete type 'xxx'; no destructor called
107
108         -- in softfloat
109         "/wd4146", -- warning C4146: unary minus operator applied to unsigned type, result still unsigned         
110      }
111
112   configuration { "gmake" }
113      buildoptions {
114         "-Wno-sign-compare",
115      }
116
117   if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
118      buildoptions {
119         "-Wno-tautological-compare",
120      }   
121   end
122   
123   configuration { }
124
12594   options {
12695      "ForceCPP",
12796   }
12897
12998   includedirs {
13099      MAME_DIR .. "src/osd",
131      MAME_DIR .. "src/emu",
132      MAME_DIR .. "src/lib",
133      MAME_DIR .. "src/lib/util",
134      MAME_DIR .. "3rdparty",
135100   }
136   if _OPTIONS["with-bundled-expat"] then
137       includedirs {
138         MAME_DIR .. "3rdparty/expat/lib/",
139      }
140   end
141101   
142102   files {
143103      MAME_DIR .. "3rdparty/softfloat/softfloat.c",


Previous 199869 Revisions Next


© 1997-2024 The MAME Team