mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-21 18:31:10 +00:00
GCC-13 support, when precompiled headers are off
This commit is contained in:
parent
97cfd32677
commit
b5eb8f47db
11 changed files with 14 additions and 2 deletions
2
.github/workflows/continuous_integration.yml
vendored
2
.github/workflows/continuous_integration.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
|
||||
- name: Linux GCC 12
|
||||
os: ubuntu-22.04
|
||||
extra_options: -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12
|
||||
extra_options: -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
|
||||
deps_cmdline: sudo apt update && sudo apt install libsdl2-dev libvpx-dev libgtk-3-dev libwebp-dev
|
||||
build_type: MinSizeRel
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
**
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include "palutil.h"
|
||||
#include "sc_man.h"
|
||||
#include "m_crc32.h"
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
** compile with something other than Visual C++ or GCC.
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include "autosegs.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#define AUTOSEGS_H
|
||||
|
||||
#include <type_traits>
|
||||
#include <cstdint>
|
||||
|
||||
#if defined(__clang__)
|
||||
#if defined(__has_feature) && __has_feature(address_sanitizer)
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#ifndef __BITMAP_H__
|
||||
#define __BITMAP_H__
|
||||
|
||||
#include <cstring>
|
||||
#include "palentry.h"
|
||||
|
||||
struct FCopyInfo;
|
||||
|
|
2
src/common/thirdparty/md5.h
vendored
2
src/common/thirdparty/md5.h
vendored
|
@ -18,6 +18,8 @@
|
|||
#ifndef MD5_H
|
||||
#define MD5_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
struct MD5Context
|
||||
{
|
||||
MD5Context() { Init(); }
|
||||
|
|
|
@ -35,8 +35,9 @@
|
|||
|
||||
bool gameisdead;
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <cstdarg>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include "zstring.h"
|
||||
void I_DebugPrint(const char *cp)
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
#include "palutil.h"
|
||||
#include "palentry.h"
|
||||
#include "sc_man.h"
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include "files.h"
|
||||
#include "m_swap.h"
|
||||
#include "w_zip.h"
|
||||
#include "fs_decompress.h"
|
||||
|
||||
using FileSys::FCompressedBuffer;
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
#include "netstartwindow.h"
|
||||
#include "version.h"
|
||||
#include "engineerrors.h"
|
||||
#include "gstrings.h"
|
||||
#include <zwidget/core/timer.h>
|
||||
#include <zwidget/widgets/textlabel/textlabel.h>
|
||||
#include <zwidget/widgets/pushbutton/pushbutton.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <zwidget/core/widget.h>
|
||||
#include "gstrings.h"
|
||||
|
||||
#define RENDER_BACKENDS
|
||||
|
||||
|
|
Loading…
Reference in a new issue