use C++ library includes (nw)

This commit is contained in:
firewave 2020-01-22 13:31:52 +01:00
parent ddf571d8d4
commit 399515c7a7
325 changed files with 515 additions and 515 deletions

View File

@ -1,5 +1,5 @@
#include "benchmark/benchmark_api.h"
#include <time.h>
#include <ctime>
#include "osdcore.h"
#include "osdcomm.h"
#define MAME_NOASM 1

View File

@ -3,8 +3,8 @@
#include "emu.h"
#include "coco_dwsock.h"
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#ifdef __GNUC__
#include <unistd.h>
#endif

View File

@ -4,7 +4,7 @@
#include "emu.h"
#include "pty.h"
#include <stdio.h>
#include <cstdio>
static constexpr int TIMER_POLL = 1;

View File

@ -22,7 +22,7 @@ cpu/alph8201/ will be removed when the alpha 8304 has been dumped.
#include "emu.h"
#include "8201dasm.h"
#include <ctype.h>
#include <cctype>
#include <stdexcept>

View File

@ -166,7 +166,7 @@
***************************************************************************/
#include <stddef.h>
#include <cstddef>
#include "emu.h"
#include "debugger.h"
#include "emuopts.h"

View File

@ -82,7 +82,7 @@
**************************************************************************/
#include <stddef.h>
#include <cstddef>
#include "emu.h"
#include "debugger.h"
#include "emuopts.h"

View File

@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Andrew Gardner
#include "emu.h"
#include <stdio.h>
#include <cstdio>
#include "opcode.h"

View File

@ -1,9 +1,9 @@
// license:BSD-3-Clause
// copyright-holders:Andrew Gardner
#include "emu.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include "tables.h"
#include "dsp56def.h"

View File

@ -3,8 +3,8 @@
#ifndef DSP56156_TABLES_H
#define DSP56156_TABLES_H
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include "dsp56156.h"

View File

@ -25,7 +25,7 @@
/* ================================ INCLUDES ============================== */
/* ======================================================================== */
#include <limits.h>
#include <climits>
/* ======================================================================== */

View File

@ -15,7 +15,7 @@
#include "hpcdasm.h"
#include "util/strformat.h"
#include <ctype.h>
#include <cctype>
using osd::u32;
using util::BIT;

View File

@ -5,7 +5,7 @@
#ifndef __X87PRIV_H__
#define __X87PRIV_H__
#include <math.h>
#include <cmath>
/*************************************

View File

@ -36,7 +36,7 @@
*
*/
#include "i860.h"
#include <math.h>
#include <cmath>
#undef HOST_MSB

View File

@ -7,7 +7,7 @@
#ifdef _MSC_VER
/* logb prototype is different for MS Visual C */
#include <float.h>
#include <cfloat>
#define logb _logb
#endif

View File

@ -10,7 +10,7 @@
/* ================================ INCLUDES ============================== */
/* ======================================================================== */
#include <limits.h>
#include <climits>
#include "m37710.h"

View File

@ -21,7 +21,7 @@
#undef REG_SP
#undef REG_PC
#else
#include <limits.h>
#include <climits>
#endif
/* ======================================================================== */

View File

@ -26,7 +26,7 @@
#include "emu.h"
#include "16c5xdsm.h"
#include <ctype.h>
#include <cctype>
#include <stdexcept>

View File

@ -29,7 +29,7 @@
#include "emu.h"
#include "16c62xdsm.h"
#include <ctype.h>
#include <cctype>
#include <stdexcept>

View File

@ -7,7 +7,7 @@
#include <fcntl.h>
#include <unistd.h>
#endif
#include <stdio.h>
#include <cstdio>
#include <dos.h>
// gcc -O

View File

@ -2,7 +2,7 @@
// copyright-holders:Ville Linde
/* compute operations */
#include <math.h>
#include <cmath>
#define CLEAR_ALU_FLAGS() (m_core->astat &= ~(AZ|AN|AV|AC|AS|AI))

View File

@ -67,7 +67,7 @@ Address Function Register R/W When Reset Remarks
#include "debugger.h"
#include <limits.h>
#include <climits>
/* ======================================================================== */

View File

@ -27,7 +27,7 @@
#include "emu.h"
#include "32010dsm.h"
#include <ctype.h>
#include <cctype>
#include <stdexcept>

View File

@ -11,8 +11,8 @@
* *
\**************************************************************************/
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>
#include "32010dsm.c"

View File

@ -33,7 +33,7 @@
#include "emu.h"
#include "32025dsm.h"
#include <ctype.h>
#include <cctype>
#include <stdexcept>

View File

@ -1,6 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:Juergen Buchmueller,Ernesto Corvi
#include <stdio.h>
#include <cstdio>
#define CF 0x100
#define HF 0x200

View File

@ -18,7 +18,7 @@
#pragma once
#include "imagedev/harddriv.h"
#include <ctype.h>
#include <cctype>
class corvus_hdc_device : public device_t
{

View File

@ -10,7 +10,7 @@
#include "emu.h"
#include "ds1204.h"
#include <stdio.h>
#include <cstdio>
#define VERBOSE_LEVEL ( 0 )

View File

@ -10,7 +10,7 @@
#include "emu.h"
#include "ds1205.h"
#include <stdio.h>
#include <cstdio>
#define VERBOSE_LEVEL ( 0 )

View File

@ -15,7 +15,7 @@
#include "emu.h"
#include "machine/ds1994.h"
#include <time.h>
#include <ctime>
#define VERBOSE_LEVEL 0

View File

@ -12,7 +12,7 @@
#include "ds2404.h"
#include <algorithm>
#include <time.h> // FIXME: re-write in terms of device_rtc_interface and remove this
#include <ctime> // FIXME: re-write in terms of device_rtc_interface and remove this
//**************************************************************************

View File

@ -21,7 +21,7 @@
#include "emu.h"
#include "i8087.h"
#include <math.h>
#include <cmath>
/*************************************
*

View File

@ -33,7 +33,7 @@
#include "emu.h"
#include "k054321.h"
#include <math.h>
#include <cmath>
DEFINE_DEVICE_TYPE(K054321, k054321_device, "k054321", "K054321 Maincpu-Soundcpu interface")

View File

@ -12,8 +12,8 @@
#include "ram.h"
#include "emuopts.h"
#include <stdio.h>
#include <ctype.h>
#include <cstdio>
#include <cctype>
#include <algorithm>
#include <functional>

View File

@ -147,7 +147,7 @@ Clock mode:
#include "emu.h"
#include "tms9901.h"
#include <math.h>
#include <cmath>
#define LOG_GENERAL (1U << 0)
#define LOG_PINS (1U << 1)

View File

@ -41,7 +41,7 @@
#include "emu.h"
#include "tms9902.h"
#include <math.h>
#include <cmath>
#define LOG_GENERAL (1U << 0)
#define LOG_LINES (1U << 1)

View File

@ -41,7 +41,7 @@ UNIMPLEMENTED FEATURES :
#define VERBOSE 1
#include "logmacro.h"
#include <math.h>
#include <cmath>
//**************************************************************************
// MACROS / CONSTANTS
//**************************************************************************

View File

@ -49,7 +49,7 @@
*
************************************************************************/
#include <float.h>
#include <cfloat>

View File

@ -30,7 +30,7 @@
#include "emu.h"
#include "mea8000.h"
#include <math.h>
#include <cmath>
//#define VERBOSE 1
#include "logmacro.h"

View File

@ -39,7 +39,7 @@
#include "screen.h"
#include <limits.h>
#include <climits>
#include <atomic>

View File

@ -38,7 +38,7 @@
#include "emucore.h"
#include "xtal.h"
#include <math.h>
#include <cmath>
#undef min
#undef max

View File

@ -20,7 +20,7 @@
#include "debugvw.h"
#include "natkeyboard.h"
#include "render.h"
#include <ctype.h>
#include <cctype>
#include <algorithm>
#include <fstream>

View File

@ -14,7 +14,7 @@
#include "debugvw.h"
#include "textbuf.h"
#include "debugger.h"
#include <ctype.h>
#include <cctype>
#include <fstream>
/***************************************************************************

View File

@ -10,7 +10,7 @@
#include "emu.h"
#include "debughlp.h"
#include <ctype.h>
#include <cctype>

View File

@ -19,7 +19,7 @@
#include "dvwpoints.h"
#include "debugcpu.h"
#include "debugger.h"
#include <ctype.h>
#include <cctype>

View File

@ -15,7 +15,7 @@
#include "debugger.h"
#include <algorithm>
#include <ctype.h>
#include <cctype>
#include <tuple>

View File

@ -31,7 +31,7 @@
#include "emu.h"
#include "express.h"
#include <ctype.h>
#include <cctype>

View File

@ -14,7 +14,7 @@
#include "debug/debugcmd.h"
#include "debug/debugcon.h"
#include "debug/debugvw.h"
#include <ctype.h>
#include <cctype>
/***************************************************************************
GLOBAL VARIABLES

View File

@ -10,7 +10,7 @@
#include "emu.h"
#include "emuopts.h"
#include <ctype.h>
#include <cctype>
//**************************************************************************

View File

@ -13,7 +13,7 @@
#include "speaker.h"
#include "debug/debugcpu.h"
#include <string.h>
#include <cstring>
//**************************************************************************

View File

@ -14,7 +14,7 @@
#include <algorithm>
#include <ctype.h>
#include <cctype>

View File

@ -13,12 +13,12 @@
#pragma once
// standard C includes
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cstdarg>
// some cleanups for Solaris for things defined in stdlib.h
#if defined(__sun__) && defined(__svr4__)

View File

@ -18,7 +18,7 @@ HTTP server handling
#define MAME_EMU_HTTP_H
#include <thread>
#include <time.h>
#include <ctime>
#include "server_http.hpp"
#include "server_ws.hpp"

View File

@ -9,7 +9,7 @@
***************************************************************************/
#include <ctype.h>
#include <cctype>
#include "emu.h"
#include "emuopts.h"

View File

@ -101,8 +101,8 @@
#include "osdepend.h"
#include <ctype.h>
#include <time.h>
#include <cctype>
#include <ctime>
namespace {

View File

@ -21,7 +21,7 @@
#include <cstdint>
#include <cstring>
#include <vector>
#include <time.h>
#include <ctime>
//**************************************************************************

View File

@ -85,7 +85,7 @@
#include "romload.h"
#include "tilemap.h"
#include "ui/uimain.h"
#include <time.h>
#include <ctime>
#include <rapidjson/writer.h>
#include <rapidjson/stringbuffer.h>

View File

@ -19,7 +19,7 @@
#include <functional>
#include <time.h>
#include <ctime>
//**************************************************************************
// CONSTANTS

View File

@ -17,7 +17,7 @@
#define MAME_EMU_MAIN_H
#include <thread>
#include <time.h>
#include <ctime>
//**************************************************************************
// CONSTANTS

View File

@ -12,7 +12,7 @@
#include "emuopts.h"
#include "screen.h"
#include <ctype.h>
#include <cctype>
#include <cstring>
#include <numeric>

View File

@ -6,7 +6,7 @@
Core network functions and definitions.
***************************************************************************/
#include <ctype.h>
#include <cctype>
#include "emu.h"
#include "network.h"

View File

@ -48,7 +48,7 @@
#include "screen.h"
#include <math.h>
#include <cmath>
#include <array>
#include <map>
#include <memory>

View File

@ -18,7 +18,7 @@
#include "vecstream.h"
#include "xmlfile.h"
#include <ctype.h>
#include <cctype>
#include <algorithm>
#include <cmath>
#include <cstddef>

View File

@ -15,7 +15,7 @@
#include "render.h"
#include <math.h>
#include <cmath>
/* ----- image formats ----- */

View File

@ -15,7 +15,7 @@
#include "softlist_dev.h"
#include "validity.h"
#include <ctype.h>
#include <cctype>
//**************************************************************************

View File

@ -15,7 +15,7 @@
#include "romload.h"
#include "video/rgbutil.h"
#include <ctype.h>
#include <cctype>
#include <type_traits>
#include <typeinfo>

View File

@ -87,7 +87,7 @@
#include <iterator>
#include <utility>
#include <ctype.h>
#include <cctype>

View File

@ -36,7 +36,7 @@
#include <algorithm>
#include <new>
#include <ctype.h>
#include <cctype>
//**************************************************************************

View File

@ -25,7 +25,7 @@
#include "xmlfile.h"
#include <ctype.h>
#include <cctype>
#include <cstring>
#include <unordered_set>
#include <queue>

View File

@ -17,7 +17,7 @@
#include "validity.h"
#include "clifront.h"
#include "luaengine.h"
#include <time.h>
#include <ctime>
#include "ui/ui.h"
#include "ui/selgame.h"
#include "ui/simpleselgame.h"

View File

@ -18,7 +18,7 @@
#include "hashfile.h"
#include "clifront.h"
#include <ctype.h>
#include <cctype>
#include <stack>

View File

@ -24,7 +24,7 @@
#include "mame.h"
#include "uiinput.h"
#include <ctype.h>
#include <cctype>
namespace ui {

View File

@ -6,7 +6,7 @@ Atari 2600 SuperCharger support
*/
#include <assert.h>
#include <cassert>
#include "formats/a26_cas.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/a5105_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/abc800_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/abcfd2_dsk.h"

View File

@ -10,7 +10,7 @@ For more information see:
********************************************************************/
#include <assert.h>
#include <cassert>
#include "ace_tap.h"

View File

@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:Curt Coder
#include <assert.h>
#include <cassert>
#include "cassimg.h"
#include "adam_cas.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/adam_dsk.h"

View File

@ -12,7 +12,7 @@
************************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/agat840k_hle_dsk.h"

View File

@ -12,7 +12,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "aim_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/ami_dsk.h"

View File

@ -8,9 +8,9 @@
*********************************************************************/
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include "ap2_dsk.h"
#include "basicdsk.h"

View File

@ -98,8 +98,8 @@
*********************************************************************/
#include <stdio.h>
#include <assert.h>
#include <cstdio>
#include <cassert>
#include "emu.h" // logerror
#include "ap_dsk35.h"

View File

@ -34,7 +34,7 @@ e. A checksum byte (8-bit addition)
********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/apf_apt.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/apollo_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/applix_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/asst128_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/atari_dsk.h"

View File

@ -40,7 +40,7 @@
*/
#include <assert.h>
#include <cassert>
#include "atom_tap.h"
#include "csw_cas.h"

View File

@ -8,9 +8,9 @@
*********************************************************************/
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include "basicdsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/bw12_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/bw2_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/c3040_dsk.h"

View File

@ -8,7 +8,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/c4040_dsk.h"

View File

@ -19,7 +19,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/camplynx_dsk.h"

View File

@ -8,8 +8,8 @@
*********************************************************************/
#include <string.h>
#include <assert.h>
#include <cstring>
#include <cassert>
#include "imageutl.h"
#include "cassimg.h"

View File

@ -94,7 +94,7 @@ Unfortunately, I have no such a .tap file to test, so my implementation
below could be not working. FP ]
*/
#include <assert.h>
#include <cassert>
#include "cbm_tap.h"

View File

@ -19,7 +19,7 @@ We now support these three types below...
********************************************************************/
#include <assert.h>
#include <cassert>
#include "formats/cgen_cas.h"

View File

@ -36,7 +36,7 @@
*/
#include <assert.h>
#include <cassert>
#include "formats/comx35_dsk.h"

View File

@ -10,7 +10,7 @@
*********************************************************************/
#include <assert.h>
#include <cassert>
#include "flopimg.h"
#include "formats/concept_dsk.h"

Some files were not shown because too many files have changed in this diff Show More