Fix errors for msvc

Use less strict compiler flags instead of modifying source code

Add ugly defines so MSVC stops complaining about zero length arrays
This commit is contained in:
roeming
2026-01-18 18:11:54 -05:00
committed by Jeffrey Crowell
parent ef14b2b932
commit 81d679d207
105 changed files with 1871 additions and 1760 deletions
+3 -3
View File
@@ -13,7 +13,7 @@
dMsgScrnStaff_c::dMsgScrnStaff_c(u8 unused) {
static u64 t_tag[6] = {
'right_s', 'right', 'center_s', 'center', 'left_s', 'left',
MULTI_CHAR('right_s'), MULTI_CHAR('right'), MULTI_CHAR('center_s'), MULTI_CHAR('center'), MULTI_CHAR('left_s'), 'left',
};
init();
@@ -26,8 +26,8 @@ dMsgScrnStaff_c::dMsgScrnStaff_c(u8 unused) {
dPaneClass_showNullPane(mpScreen);
mpPmP_c = new CPaneMgr(mpScreen, 'ROOT', 2, NULL);
mpScreen->search('left_n')->hide();
mpScreen->search('right_n')->hide();
mpScreen->search(MULTI_CHAR('left_n'))->hide();
mpScreen->search(MULTI_CHAR('right_n'))->hide();
for (int i = 0; i < 6; i++) {
mpTm_c[i] = new CPaneMgr(mpScreen, t_tag[i], NULL, NULL);