|
|
1.1 root 1: //
2: // nono
1.1.1.2 root 3: // Copyright (C) 2020 nono project
4: // Licensed under nono-license.txt
1.1 root 5: //
6:
1.1.1.4 ! root 7: //
! 8: // wxWidgets のヘッダをよろしく読み込むため
! 9: //
1.1 root 10:
1.1.1.4 ! root 11: #pragma once
1.1 root 12:
13: // wx のシステムヘッダ内で警告出られてもどうしようもないのでワーニング抑制
1.1.1.2 root 14: #if defined(__clang__)
1.1.1.4 ! root 15: #define PRAGMA_PUSH_WARNINGS \
! 16: _Pragma("clang diagnostic push") \
! 17: _Pragma("clang diagnostic ignored \"-Weverything\"")
! 18: #define PRAGMA_POP_WARNINGS \
! 19: _Pragma("clang diagnostic pop")
1.1.1.2 root 20: #else
1.1.1.4 ! root 21: #define PRAGMA_PUSH_WARNINGS \
! 22: _Pragma("GCC diagnostic push") \
! 23: _Pragma("GCC diagnostic ignored \"-Wcast-qual\"") \
! 24: _Pragma("GCC diagnostic ignored \"-Wignored-qualifiers\"")
! 25: #define PRAGMA_POP_WARNINGS \
! 26: _Pragma("GCC diagnostic pop")
1.1 root 27: #endif
28:
1.1.1.4 ! root 29:
! 30: PRAGMA_PUSH_WARNINGS
! 31:
1.1 root 32: #include <wx/wxprec.h>
33: #ifndef WX_PRECOMP
34: #include <wx/wx.h>
35: #endif
36:
1.1.1.4 ! root 37: PRAGMA_POP_WARNINGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.