mirror of
https://github.com/libretro/RetroArch
synced 2025-02-01 20:54:10 +00:00
Switch to C++98. Fix some weird warnings.
This commit is contained in:
parent
8e9f5d89f2
commit
474c96365d
2
Makefile
2
Makefile
@ -55,7 +55,7 @@ else
|
||||
endif
|
||||
|
||||
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) $(DEBUG_FLAG) -I.
|
||||
CXXFLAGS := $(CFLAGS) -std=c++0x -D__STDC_CONSTANT_MACROS
|
||||
CXXFLAGS := $(CFLAGS) -std=c++98 -D__STDC_CONSTANT_MACROS
|
||||
OBJCFLAGS := $(CFLAGS) -D__STDC_CONSTANT_MACROS
|
||||
|
||||
ifeq ($(CXX_BUILD), 1)
|
||||
|
@ -683,11 +683,11 @@ struct zip_extract_userdata
|
||||
bool found_content;
|
||||
};
|
||||
|
||||
enum
|
||||
enum zlib_compression_mode
|
||||
{
|
||||
ZLIB_MODE_UNCOMPRESSED = 0,
|
||||
ZLIB_MODE_DEFLATE = 8
|
||||
} zlib_compression_mode;
|
||||
};
|
||||
|
||||
static int zip_extract_cb(const char *name, const char *valid_exts,
|
||||
const uint8_t *cdata,
|
||||
|
@ -28,12 +28,12 @@
|
||||
#include "menu/menu.h"
|
||||
#endif
|
||||
|
||||
enum
|
||||
enum thread_code_enum
|
||||
{
|
||||
THREAD_CODE_INIT = 0,
|
||||
THREAD_CODE_DEINIT,
|
||||
THREAD_CODE_ALIVE
|
||||
} thread_code_enum;
|
||||
};
|
||||
|
||||
typedef struct data_runloop
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user