移除一些编译时的warning

This commit is contained in:
cebgcontract 2022-07-25 17:56:00 +08:00
parent a2aa648458
commit 5a869a9a21
2 changed files with 28 additions and 0 deletions

View File

@ -1287,6 +1287,13 @@
TARGETED_DEVICE_FAMILY = "1,2";
UNITY_RUNTIME_VERSION = 2018.4.23f1;
UNITY_SCRIPTING_BACKEND = il2cpp;
WARNING_CFLAGS = (
"$(inherited)",
"-Wno-missing-declarations",
"-Wno-extern-initializer",
"-Wno-unused-variable",
"-Wno-shorten-64-to-32",
);
};
name = Debug;
};
@ -1362,6 +1369,13 @@
TARGETED_DEVICE_FAMILY = "1,2";
UNITY_RUNTIME_VERSION = 2018.4.23f1;
UNITY_SCRIPTING_BACKEND = il2cpp;
WARNING_CFLAGS = (
"$(inherited)",
"-Wno-missing-declarations",
"-Wno-extern-initializer",
"-Wno-unused-variable",
"-Wno-shorten-64-to-32",
);
};
name = Release;
};
@ -1567,6 +1581,13 @@
TARGETED_DEVICE_FAMILY = "1,2";
UNITY_RUNTIME_VERSION = 2018.4.23f1;
UNITY_SCRIPTING_BACKEND = il2cpp;
WARNING_CFLAGS = (
"$(inherited)",
"-Wno-missing-declarations",
"-Wno-extern-initializer",
"-Wno-unused-variable",
"-Wno-shorten-64-to-32",
);
};
name = ReleaseForRunning;
};
@ -1714,6 +1735,13 @@
TARGETED_DEVICE_FAMILY = "1,2";
UNITY_RUNTIME_VERSION = 2018.4.23f1;
UNITY_SCRIPTING_BACKEND = il2cpp;
WARNING_CFLAGS = (
"$(inherited)",
"-Wno-missing-declarations",
"-Wno-extern-initializer",
"-Wno-unused-variable",
"-Wno-shorten-64-to-32",
);
};
name = ReleaseForProfiling;
};