]> Kevux Git Server - fll/commitdiff
Cleanup: Add -Wno-main to suppress warning about "main".
authorKevin Day <kevin@kevux.org>
Thu, 8 Jun 2023 05:01:18 +0000 (00:01 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 8 Jun 2023 05:01:18 +0000 (00:01 -0500)
This warning is not relevant due to how the project is designed.

level_3/fss_read/data/build/settings
level_3/fss_read/data/build/settings.basic
level_3/fss_read/data/build/settings.basic_list
level_3/fss_read/data/build/settings.embedded_list
level_3/fss_read/data/build/settings.extended
level_3/fss_read/data/build/settings.extended_list
level_3/fss_read/data/build/settings.main
level_3/fss_read/data/build/settings.payload

index 97dc17c0a43a24c7713856c3a492a8f5452829ac..185589a29b41ee73691de93753a2f1d341ddd968 100644 (file)
@@ -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
index 3fadcfa46c7cc6a30674b3589f6459c55c268ca5..4efa2bc90d2ab98e04e2a68b44071f278bddf8ac 100644 (file)
@@ -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
index 09fa08596bd94e3a0efaf1aabbf27555b6001636..aaacd3712017381c174d1034bd7c4f9b1fcf5284 100644 (file)
@@ -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
index d2ac5256cc99e1dad0c5c19d1439bdf6e12def83..8439e34c44f8ff0278e8fc139f6055a08b05c05a 100644 (file)
@@ -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
index d6bd610f7e8469dbb62f7680ee32458175ceab49..4e4bef47790587f489b210138d07cf4349ab6d3e 100644 (file)
@@ -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
index d82b6d9fdecc9edd54caea999c79f4c4314149ba..d44be5cb6e5c63555bd0f6f12cb20ecc8771a142 100644 (file)
@@ -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
index 3e46e8afd7812f8ce10e997b8aba98058164920e..059ee00d398936b74aed629b2c3dd6640d1073da 100644 (file)
@@ -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
index 0c5c957a7c891017cafa768156992d0bdce1aa73..4abcd9a80e0a992c80945762647c548c5815ea01 100644 (file)
@@ -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