From: Kevin Day Date: Thu, 8 Jun 2023 05:01:18 +0000 (-0500) Subject: Cleanup: Add -Wno-main to suppress warning about "main". X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=e68bf63eca465b2c0f79fc0e2b7ad91225932a3d;p=fll Cleanup: Add -Wno-main to suppress warning about "main". This warning is not relevant due to how the project is designed. --- diff --git a/level_3/fss_read/data/build/settings b/level_3/fss_read/data/build/settings index 97dc17c..185589a 100644 --- a/level_3/fss_read/data/build/settings +++ b/level_3/fss_read/data/build/settings @@ -46,7 +46,7 @@ build_sources_library extended_list/fss_read.c extended_list/common.c extended_l build_sources_library payload/fss_read.c payload/common.c payload/print.c build_sources_headers main/fss_read.h main/common.h main/common/define.h main/common/enumeration.h main/common/print.h main/common/static.h main/common/string.h main/common/type.h main/print/data.h main/print/error.h main/print/message.h main/process_normal.h main/signal.h main/thread.h -build_sources_headers basic/fss_read.h basic/common.h basic/print.h basic/private-common.h +build_sources_headers basic/fss_read.h basic/common.h basic/print.h build_sources_headers basic_list/fss_read.h basic_list/common.h basic_list/print.h build_sources_headers embedded_list/fss_read.h embedded_list/common.h embedded_list/print.h build_sources_headers extended/fss_read.h extended/common.h extended/print.h @@ -74,7 +74,7 @@ defines -D_libcap_legacy_only_ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.basic b/level_3/fss_read/data/build/settings.basic index 3fadcfa..4efa2bc 100644 --- a/level_3/fss_read/data/build/settings.basic +++ b/level_3/fss_read/data/build/settings.basic @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.basic_list b/level_3/fss_read/data/build/settings.basic_list index 09fa085..aaacd37 100644 --- a/level_3/fss_read/data/build/settings.basic_list +++ b/level_3/fss_read/data/build/settings.basic_list @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.embedded_list b/level_3/fss_read/data/build/settings.embedded_list index d2ac525..8439e34 100644 --- a/level_3/fss_read/data/build/settings.embedded_list +++ b/level_3/fss_read/data/build/settings.embedded_list @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.extended b/level_3/fss_read/data/build/settings.extended index d6bd610..4e4bef4 100644 --- a/level_3/fss_read/data/build/settings.extended +++ b/level_3/fss_read/data/build/settings.extended @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.extended_list b/level_3/fss_read/data/build/settings.extended_list index d82b6d9..d44be5c 100644 --- a/level_3/fss_read/data/build/settings.extended_list +++ b/level_3/fss_read/data/build/settings.extended_list @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.main b/level_3/fss_read/data/build/settings.main index 3e46e8a..059ee00 100644 --- a/level_3/fss_read/data/build/settings.main +++ b/level_3/fss_read/data/build/settings.main @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall diff --git a/level_3/fss_read/data/build/settings.payload b/level_3/fss_read/data/build/settings.payload index 0c5c957..4abcd9a 100644 --- a/level_3/fss_read/data/build/settings.payload +++ b/level_3/fss_read/data/build/settings.payload @@ -52,7 +52,7 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines -D_libcap_legacy_only_ -flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces +flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses flags-test -O0 -fstack-protector -Wall