3
3
// vconv.c - VC++ parameter conversion code
5
// Copyright Nicola Salmoria and the MAME Team.
6
// Visit http://mamedev.org for licensing and usage restrictions.
5
//============================================================
7
// Copyright Aaron Giles
8
// All rights reserved.
10
// Redistribution and use in source and binary forms, with or
11
// without modification, are permitted provided that the
12
// following conditions are met:
14
// * Redistributions of source code must retain the above
15
// copyright notice, this list of conditions and the
16
// following disclaimer.
17
// * Redistributions in binary form must reproduce the
18
// above copyright notice, this list of conditions and
19
// the following disclaimer in the documentation and/or
20
// other materials provided with the distribution.
21
// * Neither the name 'MAME' nor the names of its
22
// contributors may be used to endorse or promote
23
// products derived from this software without specific
24
// prior written permission.
26
// THIS SOFTWARE IS PROVIDED BY AARON GILES ''AS IS'' AND
27
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
28
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
29
// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
30
// EVENT SHALL AARON GILES BE LIABLE FOR ANY DIRECT,
31
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32
// DAMAGE (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
34
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
35
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36
// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
37
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
38
// IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8
40
//============================================================
68
100
{ 0, "-fno-strict-aliasing", "/Oa" },
69
101
{ 0, "-fno-omit-frame-pointer", "" },
70
102
{ 0, "-Werror", "/WX" },
71
{ VS7, "-Wall", "/Wall /W3 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826" },
103
{ VS7, "-Wall", "/Wall /W3 /wd4003 /wd4018 /wd4146 /wd4242 /wd4244 /wd4619 /wd4702 /wd4706 /wd4710 /wd4711 /wd4738 /wd4826" },
72
104
{ 0, "-Wall", "/W0" },
73
105
{ VS7, "-Wno-unused", "/wd4100 /wd4101 /wd4102" },