]> Kevux Git Server - controller/commitdiff
Refactor: Build mode gcc_13 to flex_arrays to provide a more generic name.
authorKevin Day <Kevin@kevux.org>
Wed, 10 Dec 2025 04:25:23 +0000 (22:25 -0600)
committerKevin Day <Kevin@kevux.org>
Wed, 10 Dec 2025 04:25:23 +0000 (22:25 -0600)
The `gcc_13` was a temporary mode and I don't want to have version specific modes.
Replace the mode witha more long term version unspecific name `flex_arrays`.

data/build/fakefile
data/build/settings
data/build/settings.controller
data/build/settings.init
data/build/stand_alone/fakefile
data/build/stand_alone/settings.controller
data/build/stand_alone/settings.init

index 6e9a2d15b7ac2e17d5d12f2d9f2421b1e4cf483f..6b3991e876717fc921480fafad6ff625aeeeb656 100644 (file)
@@ -2,7 +2,7 @@
 
 settings:
   fail exit
-  modes individual individual_thread level monolithic clang gcc gcc_13 test fanalyzer coverage thread threadless
+  modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test thread threadless
 
   environment PATH LD_LIBRARY_PATH
   environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
index 6e74b8f511cfc995c1db6059935dcc73990884e4..f4215c0a71d54d62c40b453d61ed216b841f0b82 100644 (file)
@@ -6,8 +6,8 @@
 #   - coverage:          Compile for building coverage.
 #   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays:       Use GCC strict flex arrays (supported by GCC version 13 or greater).
 #   - gcc:               Use GCC specific settings.
-#   - gcc_13:            Use GCC version 13 or greater specific settings.
 #   - individual:        Compile using per project (individual) libraries, does not handle thread or threadless cases.
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
@@ -25,7 +25,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test thread threadless
 modes_default debug gcc monolithic thread
 
 build_compiler gcc
@@ -125,7 +125,7 @@ flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-clang -Wno-logical-op-parentheses
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 flags-fanalyzer -fanalyzer
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-thread -pthread
 
index 2f93e9e6912d93846f17f7d1e8c6cea798270474..49351259c1615224c05b296ac806e5a7b031639c 100644 (file)
@@ -6,8 +6,8 @@
 #   - coverage:          Compile for building coverage.
 #   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays:       Use GCC strict flex arrays (supported by GCC version 13 or greater).
 #   - gcc:               Use GCC specific settings.
-#   - gcc_13:            Use GCC version 13 or greater specific settings.
 #   - individual:        Compile using per project (individual) libraries, does not handle thread or threadless cases.
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
@@ -25,7 +25,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test thread threadless
 modes_default debug gcc monolithic thread
 
 build_compiler gcc
@@ -86,7 +86,7 @@ flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-clang -Wno-logical-op-parentheses
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 flags-fanalyzer -fanalyzer
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-thread -pthread
 
index 78e973fd582d889926799fe267588356b84cca83..d8f3b4789989b52ef169be83b80d863228599850 100644 (file)
@@ -6,8 +6,8 @@
 #   - coverage:          Compile for building coverage.
 #   - debug:             Enable debugging, such as compile time debug options.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays:       Use GCC strict flex arrays (supported by GCC version 13 or greater).
 #   - gcc:               Use GCC specific settings.
-#   - gcc_13:            Use GCC version 13 or greater specific settings.
 #   - individual:        Compile using per project (individual) libraries, does not handle thread or threadless cases.
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
@@ -25,7 +25,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug gcc gcc_13 fanalyzer individual individual_thread level monolithic test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc individual individual_thread level monolithic test thread threadless
 modes_default debug gcc monolithic thread
 
 build_compiler gcc
@@ -86,7 +86,7 @@ flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-clang -Wno-logical-op-parentheses
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 flags-fanalyzer -fanalyzer
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-thread -pthread
 
index d7ebded7eafc942c8f251b30e50ade7a80f6ddba..a381bef464dd70c182a045bce3524d44e0476bde 100644 (file)
@@ -13,7 +13,7 @@
 
 settings:
   fail exit
-  modes clang coverage fanalyzer gcc gcc_13 test thread threadless
+  modes android clang coverage debug fanalyzer flex_arrays gcc test thread threadless
 
   environment PATH LD_LIBRARY_PATH
   environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
index 555b3c7d174d1a8fcf8b6a969f7c9608f5b3bfac..6b0d0fd37fc578ad2a3c6ca7b928b6158a50cc89 100644 (file)
@@ -6,16 +6,16 @@
 #   fake -s data/build/stand_alone/settings.controller clean build
 #
 # Modes:
-#   - android:    Compile on an android system (using Termux; may need modification depending on the android system).
-#   - clang:      Use CLang rather than the default, which is generally GCC.
-#   - coverage:   Compile for building coverage.
-#   - debug:      Enable debugging, such as compile time debug options.
-#   - fanalyzer:  Compile using GCC's -fanalyzer compile time option.
-#   - gcc:        Use GCC specific settings.
-#   - gcc_13:     Use GCC version 13 or greater specific settings.
-#   - test:       Compile for a test, such as unit testing.
-#   - thread:     Compile with thread support.
-#   - threadless: Compile without thread support.
+#   - android:     Compile on an android system (using Termux; may need modification depending on the android system).
+#   - clang:       Use CLang rather than the default, which is generally GCC.
+#   - coverage:    Compile for building coverage.
+#   - debug:       Enable debugging, such as compile time debug options.
+#   - fanalyzer:   Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays: Use GCC strict flex arrays (supported by GCC version 13 or greater).
+#   - gcc:         Use GCC specific settings.
+#   - test:        Compile for a test, such as unit testing.
+#   - thread:      Compile with thread support.
+#   - threadless:  Compile without thread support.
 #
 
 build_name controller
@@ -27,7 +27,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc test thread threadless
 modes_default debug gcc thread
 
 build_compiler gcc
@@ -149,7 +149,7 @@ flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
 flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-fanalyzer -fanalyzer
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 9fe7d87051994d0dbbd2546a2d5e223bfcb40513..5050cfc725b463b02d3a50d8af63054217d94706 100644 (file)
@@ -6,16 +6,16 @@
 #   fake -s data/build/stand_alone/settings.init clean build
 #
 # Modes:
-#   - android:    Compile on an android system (using Termux; may need modification depending on the android system).
-#   - clang:      Use CLang rather than the default, which is generally GCC.
-#   - coverage:   Compile for building coverage.
-#   - debug:      Enable debugging, such as compile time debug options.
-#   - fanalyzer:  Compile using GCC's -fanalyzer compile time option.
-#   - gcc:        Use GCC specific settings.
-#   - gcc_13:     Use GCC version 13 or greater specific settings.
-#   - test:       Compile for a test, such as unit testing.
-#   - thread:     Compile with thread support.
-#   - threadless: Compile without thread support.
+#   - android:     Compile on an android system (using Termux; may need modification depending on the android system).
+#   - clang:       Use CLang rather than the default, which is generally GCC.
+#   - coverage:    Compile for building coverage.
+#   - debug:       Enable debugging, such as compile time debug options.
+#   - fanalyzer:   Compile using GCC's -fanalyzer compile time option.
+#   - flex_arrays: Use GCC strict flex arrays (supported by GCC version 13 or greater).
+#   - gcc:         Use GCC specific settings.
+#   - test:        Compile for a test, such as unit testing.
+#   - thread:      Compile with thread support.
+#   - threadless:  Compile without thread support.
 #
 
 build_name init
@@ -27,7 +27,7 @@ version_micro 4
 version_file micro
 version_target minor
 
-modes android clang coverage debug fanalyzer gcc gcc_13 test thread threadless
+modes android clang coverage debug fanalyzer flex_arrays gcc test thread threadless
 modes_default debug gcc thread
 
 build_compiler gcc
@@ -149,7 +149,7 @@ flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
 flags-android -Wno-implicit-function-declaration -Wl,-z,norelro
 flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
-flags-gcc_13 -fstrict-flex-arrays=3
+flags-flex_arrays -fstrict-flex-arrays=3
 flags-test -O0 -fstack-protector-strong -Wall
 flags-fanalyzer -fanalyzer
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/