From 09d8e048d2264d89886cda8e87e8a452d4f913c1 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Thu, 17 Nov 2022 03:33:10 +0800 Subject: Squash warnings (#2515) * Don't use uname -p It's not portable (doesn't work on my machine) * Disable maybe-uninitialized warning on gcc Only false positives at the moment * Squash warning in miniz Allow it to use 64 bit file handing functions with gcc * Use noreturn c++11 attribute in SLANG_RETURN_NEVER * Squash uninitialized variable warnings * Squash const char/char conversion warnings Co-authored-by: Yong He --- github_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'github_test.sh') diff --git a/github_test.sh b/github_test.sh index b18566f84..dc07c6250 100644 --- a/github_test.sh +++ b/github_test.sh @@ -9,7 +9,7 @@ else fi PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]') -ARCHITECTURE=$(uname -p) +ARCHITECTURE=$(uname -m) # Darwin is actually macosx (for paths etc) if [ "${PLATFORM}" == "darwin" ]; then -- cgit v1.2.3