From a850c4fc237e346cecc70bf3ed87b958299ceca2 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 19 Feb 2024 22:39:13 -0600 Subject: [PATCH] Update: Get clang working by separating out gcc specific settings, such as -fstrict-flex-arrays=3, and related changes. The "-fstrict-flex-arrays=3" flag is not supported by clang. Create a new mode call "gcc", make that the default, and move the "-fstrict-flex-arrays=3" into the gcc-specific setting. Update the unit tests and mocks with these changes. Make the unit tests and mocks more consistent by having these same settings. Add a missing period at the end of the clang specific mode documentation comment. The example bootstrap script handling of threads is improved. --- build/level_0/settings | 10 ++++++---- build/level_1/settings | 10 ++++++---- build/level_2/settings | 10 ++++++---- build/monolithic/settings | 10 ++++++---- build/scripts/bootstrap-example.sh | 19 ++++++++++--------- build/stand_alone/byte_dump.settings | 7 ++++--- build/stand_alone/example.settings | 8 +++++--- build/stand_alone/fake.settings | 8 +++++--- build/stand_alone/firewall.settings | 8 +++++--- build/stand_alone/utf8.settings | 7 ++++--- level_0/f_abstruse/data/build/settings | 8 +++++--- level_0/f_abstruse/data/build/settings-mocks | 6 ++++-- level_0/f_abstruse/data/build/settings-tests | 6 ++++-- level_0/f_account/data/build/settings | 8 +++++--- level_0/f_account/data/build/settings-mocks | 6 ++++-- level_0/f_account/data/build/settings-tests | 6 ++++-- level_0/f_capability/data/build/settings | 8 +++++--- level_0/f_capability/data/build/settings-mocks | 6 ++++-- level_0/f_capability/data/build/settings-tests | 6 ++++-- level_0/f_color/data/build/settings | 8 +++++--- level_0/f_color/data/build/settings-mocks | 6 ++++-- level_0/f_color/data/build/settings-tests | 6 ++++-- level_0/f_compare/data/build/settings | 8 +++++--- level_0/f_compare/data/build/settings-tests | 6 ++++-- level_0/f_console/data/build/settings | 8 +++++--- level_0/f_console/data/build/settings-tests | 6 ++++-- level_0/f_control_group/data/build/settings | 8 +++++--- level_0/f_control_group/data/build/settings-tests | 6 ++++-- level_0/f_conversion/data/build/settings | 8 +++++--- level_0/f_conversion/data/build/settings-mocks | 6 ++++-- level_0/f_conversion/data/build/settings-tests | 6 ++++-- level_0/f_directory/data/build/settings | 8 +++++--- level_0/f_directory/data/build/settings-mocks | 6 ++++-- level_0/f_directory/data/build/settings-tests | 6 ++++-- level_0/f_environment/data/build/settings | 8 +++++--- level_0/f_environment/data/build/settings-mocks | 6 ++++-- level_0/f_environment/data/build/settings-tests | 6 ++++-- level_0/f_execute/data/build/settings | 8 +++++--- level_0/f_execute/data/build/settings-tests | 6 ++++-- level_0/f_file/data/build/settings | 8 +++++--- level_0/f_file/data/build/settings-mocks | 6 ++++-- level_0/f_file/data/build/settings-tests | 6 ++++-- level_0/f_fss/data/build/settings | 8 +++++--- level_0/f_fss/data/build/settings-mocks | 6 ++++-- level_0/f_fss/data/build/settings-tests | 6 ++++-- level_0/f_iki/data/build/settings | 8 +++++--- level_0/f_iki/data/build/settings-mocks | 6 ++++-- level_0/f_iki/data/build/settings-tests | 6 ++++-- level_0/f_limit/data/build/settings | 8 +++++--- level_0/f_limit/data/build/settings-mocks | 6 ++++-- level_0/f_limit/data/build/settings-tests | 6 ++++-- level_0/f_memory/data/build/settings | 8 +++++--- level_0/f_memory/data/build/settings-tests | 6 ++++-- level_0/f_network/data/build/settings | 8 +++++--- level_0/f_network/data/build/settings-mocks | 6 ++++-- level_0/f_network/data/build/settings-tests | 6 ++++-- level_0/f_parse/data/build/settings | 8 +++++--- level_0/f_path/data/build/settings | 8 +++++--- level_0/f_path/data/build/settings-mocks | 6 ++++-- level_0/f_path/data/build/settings-tests | 6 ++++-- level_0/f_pipe/data/build/settings | 8 +++++--- level_0/f_pipe/data/build/settings-mocks | 6 ++++-- level_0/f_pipe/data/build/settings-tests | 6 ++++-- level_0/f_print/data/build/settings | 8 +++++--- level_0/f_print/data/build/settings-mocks | 4 +++- level_0/f_print/data/build/settings-tests | 4 +++- level_0/f_random/data/build/settings | 8 +++++--- level_0/f_random/data/build/settings-mocks | 6 ++++-- level_0/f_random/data/build/settings-tests | 6 ++++-- level_0/f_rip/data/build/settings | 8 +++++--- level_0/f_serialize/data/build/settings | 8 +++++--- level_0/f_serialize/data/build/settings-mocks | 6 ++++-- level_0/f_serialize/data/build/settings-tests | 6 ++++-- level_0/f_signal/data/build/settings | 8 +++++--- level_0/f_signal/data/build/settings-mocks | 6 ++++-- level_0/f_signal/data/build/settings-tests | 6 ++++-- level_0/f_socket/data/build/settings | 8 +++++--- level_0/f_socket/data/build/settings-mocks | 5 +++-- level_0/f_socket/data/build/settings-tests | 5 +++-- level_0/f_status/data/build/settings | 8 +++++--- level_0/f_status/data/build/settings-tests | 6 ++++-- level_0/f_status_string/data/build/settings | 8 +++++--- level_0/f_status_string/data/build/settings-tests | 6 ++++-- level_0/f_string/data/build/settings | 8 +++++--- level_0/f_string/data/build/settings-mocks | 6 ++++-- level_0/f_string/data/build/settings-tests | 6 ++++-- level_0/f_thread/data/build/settings | 8 +++++--- level_0/f_thread/data/build/settings-mocks | 6 ++++-- level_0/f_thread/data/build/settings-tests | 6 ++++-- level_0/f_time/data/build/settings | 8 +++++--- level_0/f_time/data/build/settings-tests | 6 ++++-- level_0/f_type/data/build/settings | 8 +++++--- level_0/f_type_array/data/build/settings | 8 +++++--- level_0/f_type_array/data/build/settings-mocks | 6 ++++-- level_0/f_type_array/data/build/settings-tests | 6 ++++-- level_0/f_utf/data/build/settings | 8 +++++--- level_0/f_utf/data/build/settings-mocks | 6 ++++-- level_0/f_utf/data/build/settings-tests | 6 ++++-- level_1/fl_control_group/data/build/settings | 8 +++++--- level_1/fl_conversion/data/build/settings | 8 +++++--- level_1/fl_directory/data/build/settings | 8 +++++--- level_1/fl_environment/data/build/settings | 8 +++++--- level_1/fl_execute/data/build/settings | 8 +++++--- level_1/fl_fss/data/build/settings | 8 +++++--- level_1/fl_fss/data/build/settings-tests | 7 ++++--- level_1/fl_iki/data/build/settings | 8 +++++--- level_1/fl_path/data/build/settings | 8 +++++--- level_1/fl_path/data/build/settings-tests | 6 ++++-- level_1/fl_print/data/build/settings | 8 +++++--- level_1/fl_status_string/data/build/settings | 8 +++++--- level_1/fl_status_string/data/build/settings-tests | 6 ++++-- level_1/fl_utf_file/data/build/settings | 8 +++++--- level_2/fll_control_group/data/build/settings | 8 +++++--- level_2/fll_error/data/build/settings | 8 +++++--- level_2/fll_execute/data/build/settings | 8 +++++--- level_2/fll_file/data/build/settings | 8 +++++--- level_2/fll_fss/data/build/settings | 8 +++++--- level_2/fll_fss_status_string/data/build/settings | 8 +++++--- level_2/fll_iki/data/build/settings | 8 +++++--- level_2/fll_print/data/build/settings | 8 +++++--- level_2/fll_program/data/build/settings | 8 +++++--- level_3/byte_dump/data/build/settings | 10 ++++++---- level_3/control/data/build/settings | 10 ++++++---- level_3/controller/data/build/settings | 10 ++++++---- level_3/example/data/build/settings | 10 ++++++---- level_3/fake/data/build/settings | 10 ++++++---- level_3/firewall/data/build/settings | 10 ++++++---- level_3/fss_identify/data/build/settings | 10 ++++++---- level_3/fss_read/data/build/settings | 10 ++++++---- level_3/fss_read/data/build/settings.basic | 5 +++-- level_3/fss_read/data/build/settings.basic_list | 5 +++-- level_3/fss_read/data/build/settings.embedded_list | 5 +++-- level_3/fss_read/data/build/settings.extended | 5 +++-- level_3/fss_read/data/build/settings.extended_list | 5 +++-- level_3/fss_read/data/build/settings.main | 5 +++-- level_3/fss_read/data/build/settings.payload | 5 +++-- level_3/fss_write/data/build/settings | 10 ++++++---- level_3/fss_write/data/build/settings.basic | 5 +++-- level_3/fss_write/data/build/settings.basic_list | 5 +++-- level_3/fss_write/data/build/settings.embedded_list | 5 +++-- level_3/fss_write/data/build/settings.extended | 5 +++-- level_3/fss_write/data/build/settings.extended_list | 5 +++-- level_3/fss_write/data/build/settings.main | 5 +++-- level_3/fss_write/data/build/settings.payload | 5 +++-- level_3/iki_read/data/build/settings | 10 ++++++---- level_3/iki_write/data/build/settings | 10 ++++++---- level_3/status_code/data/build/settings | 10 ++++++---- level_3/status_code/data/build/settings.fss | 5 +++-- level_3/status_code/data/build/settings.main | 5 +++-- level_3/utf8/data/build/settings | 10 ++++++---- 150 files changed, 677 insertions(+), 399 deletions(-) diff --git a/build/level_0/settings b/build/level_0/settings index ba4a0c0..5287040 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default level thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default level thread gcc build_compiler gcc build_compiler-clang clang @@ -158,11 +159,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/level_1/settings b/build/level_1/settings index d898e8b..53e3a47 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default level thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default level thread gcc build_compiler gcc build_compiler-clang clang @@ -89,11 +90,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/level_2/settings b/build/level_2/settings index f928ceb..7b7e79b 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default level thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default level thread gcc build_compiler gcc build_compiler-clang clang @@ -86,11 +87,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/monolithic/settings b/build/monolithic/settings index c8ea6ca..586d9eb 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -201,11 +202,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/scripts/bootstrap-example.sh b/build/scripts/bootstrap-example.sh index ddaefb4..9304000 100644 --- a/build/scripts/bootstrap-example.sh +++ b/build/scripts/bootstrap-example.sh @@ -52,7 +52,8 @@ color= shared= static= version=0.7.0 -clang= +mode_compiler_param="-m" +mode_compiler_value="gcc" mode_part= mode_parameter= mode_path= @@ -112,7 +113,7 @@ while [[ ${i} -le $# ]] ; do elif [[ ${p} == "--disable-shared" ]] ; then shared="--disable-shared" elif [[ ${p} == "clang" ]] ; then - clang="-m clang" + mode_compiler_value="clang" elif [[ ${p} == "-w" || ${p} == "--work" ]] ; then let i++ @@ -139,7 +140,7 @@ if [[ ${1} == "individual" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m individual -m individual_thread ${mode_thread_param} ${mode_thread_value} ${clang} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m individual -m individual_thread ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} && @@ -155,7 +156,7 @@ if [[ ${1} == "level" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${clang} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} && @@ -165,7 +166,7 @@ if [[ ${1} == "level" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} && @@ -175,7 +176,7 @@ if [[ ${1} == "level" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} fi @@ -187,7 +188,7 @@ if [[ ${1} == "monolithic" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m monolithic ${mode_thread_param} ${mode_thread_value} ${clang} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m monolithic ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${suppress_first} ${static} -w ${path_work} fi @@ -243,7 +244,7 @@ if [[ ${mode_part} != "" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${mode_thread_param} ${mode_thread_value} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} @@ -286,7 +287,7 @@ elif [[ ${1} == "programs-individual" || ${1} == "programs-level" || ${1} == "pr ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} || diff --git a/build/stand_alone/byte_dump.settings b/build/stand_alone/byte_dump.settings index 846c039..3b2d2d3 100644 --- a/build/stand_alone/byte_dump.settings +++ b/build/stand_alone/byte_dump.settings @@ -12,8 +12,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -83,11 +83,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-thread -pthread flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/example.settings b/build/stand_alone/example.settings index 87fa6c7..d4e6fa7 100644 --- a/build/stand_alone/example.settings +++ b/build/stand_alone/example.settings @@ -6,6 +6,7 @@ # Modes: # - stand_alone: The stand alone build mode, which in general should always be used. # - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - thread: Compile with thread support. @@ -20,8 +21,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -100,11 +101,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-main -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/fake.settings b/build/stand_alone/fake.settings index c06bc3d..e49aade 100644 --- a/build/stand_alone/fake.settings +++ b/build/stand_alone/fake.settings @@ -6,6 +6,7 @@ # Modes: # - stand_alone: The stand alone build mode, which in general should always be used. # - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - thread: Compile with thread support. @@ -20,8 +21,8 @@ version_micro 0 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -124,11 +125,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-main -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/firewall.settings b/build/stand_alone/firewall.settings index 8d4ac3a..e158e3d 100644 --- a/build/stand_alone/firewall.settings +++ b/build/stand_alone/firewall.settings @@ -6,6 +6,7 @@ # Modes: # - stand_alone: The stand alone build mode, which in general should always be used. # - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - thread: Compile with thread support. @@ -20,8 +21,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -118,11 +119,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-main -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/utf8.settings b/build/stand_alone/utf8.settings index 7088903..ea6d6d5 100644 --- a/build/stand_alone/utf8.settings +++ b/build/stand_alone/utf8.settings @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -85,11 +85,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-thread -pthread flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/level_0/f_abstruse/data/build/settings b/level_0/f_abstruse/data/build/settings index ed0edf2..ffea4b0 100644 --- a/level_0/f_abstruse/data/build/settings +++ b/level_0/f_abstruse/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_abstruse/data/build/settings-mocks b/level_0/f_abstruse/data/build/settings-mocks index bdf28dc..d850893 100644 --- a/level_0/f_abstruse/data/build/settings-mocks +++ b/level_0/f_abstruse/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -58,7 +58,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_sigqueue_unsupported_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_abstruse/data/build/settings-tests b/level_0/f_abstruse/data/build/settings-tests index 5bc01ca..22f4f83 100644 --- a/level_0/f_abstruse/data/build/settings-tests +++ b/level_0/f_abstruse/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings b/level_0/f_account/data/build/settings index 9b654a3..ff7b007 100644 --- a/level_0/f_account/data/build/settings +++ b/level_0/f_account/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings-mocks b/level_0/f_account/data/build/settings-mocks index 2058d45..7b720fa 100644 --- a/level_0/f_account/data/build/settings-mocks +++ b/level_0/f_account/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -55,7 +55,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings-tests b/level_0/f_account/data/build/settings-tests index 0f9c877..fbaca63 100644 --- a/level_0/f_account/data/build/settings-tests +++ b/level_0/f_account/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings b/level_0/f_capability/data/build/settings index f967d74..8090941 100644 --- a/level_0/f_capability/data/build/settings +++ b/level_0/f_capability/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_libcap_legacy_only_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings-mocks b/level_0/f_capability/data/build/settings-mocks index 84bec2f..169d3d2 100644 --- a/level_0/f_capability/data/build/settings-mocks +++ b/level_0/f_capability/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -57,7 +57,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_libcap_legacy_only_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings-tests b/level_0/f_capability/data/build/settings-tests index c5a9d8b..185cdd6 100644 --- a/level_0/f_capability/data/build/settings-tests +++ b/level_0/f_capability/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_color/data/build/settings b/level_0/f_color/data/build/settings index 0abe662..3b20917 100644 --- a/level_0/f_color/data/build/settings +++ b/level_0/f_color/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_color/data/build/settings-mocks b/level_0/f_color/data/build/settings-mocks index c59f036..45926ca 100644 --- a/level_0/f_color/data/build/settings-mocks +++ b/level_0/f_color/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_0/f_color/data/build/settings-tests b/level_0/f_color/data/build/settings-tests index 93a8be5..1802cde 100644 --- a/level_0/f_color/data/build/settings-tests +++ b/level_0/f_color/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_compare/data/build/settings b/level_0/f_compare/data/build/settings index 4779376..1f4b2d4 100644 --- a/level_0/f_compare/data/build/settings +++ b/level_0/f_compare/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_compare/data/build/settings-tests b/level_0/f_compare/data/build/settings-tests index 3c6e1e2..a557e69 100644 --- a/level_0/f_compare/data/build/settings-tests +++ b/level_0/f_compare/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -67,7 +67,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_console/data/build/settings b/level_0/f_console/data/build/settings index 2383345..b249856 100644 --- a/level_0/f_console/data/build/settings +++ b/level_0/f_console/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_console/data/build/settings-tests b/level_0/f_console/data/build/settings-tests index 8c1b333..ad678ad 100644 --- a/level_0/f_console/data/build/settings-tests +++ b/level_0/f_console/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_control_group/data/build/settings b/level_0/f_control_group/data/build/settings index e82f5e8..ef7f043 100644 --- a/level_0/f_control_group/data/build/settings +++ b/level_0/f_control_group/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_control_group/data/build/settings-tests b/level_0/f_control_group/data/build/settings-tests index 3a3218c..cf2d186 100644 --- a/level_0/f_control_group/data/build/settings-tests +++ b/level_0/f_control_group/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings b/level_0/f_conversion/data/build/settings index 6a797bf..2771866 100644 --- a/level_0/f_conversion/data/build/settings +++ b/level_0/f_conversion/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings-mocks b/level_0/f_conversion/data/build/settings-mocks index aabf04d..c731081 100644 --- a/level_0/f_conversion/data/build/settings-mocks +++ b/level_0/f_conversion/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings-tests b/level_0/f_conversion/data/build/settings-tests index bb715e0..7c75907 100644 --- a/level_0/f_conversion/data/build/settings-tests +++ b/level_0/f_conversion/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings b/level_0/f_directory/data/build/settings index a7c8cdf..6ac03c6 100644 --- a/level_0/f_directory/data/build/settings +++ b/level_0/f_directory/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,11 +68,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings-mocks b/level_0/f_directory/data/build/settings-mocks index 475e9df..6ee317b 100644 --- a/level_0/f_directory/data/build/settings-mocks +++ b/level_0/f_directory/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings-tests b/level_0/f_directory/data/build/settings-tests index 49eba7a..30a7619 100644 --- a/level_0/f_directory/data/build/settings-tests +++ b/level_0/f_directory/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -52,7 +52,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings b/level_0/f_environment/data/build/settings index 7aa0b98..d44b507 100644 --- a/level_0/f_environment/data/build/settings +++ b/level_0/f_environment/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings-mocks b/level_0/f_environment/data/build/settings-mocks index 229f164..2acef6b 100644 --- a/level_0/f_environment/data/build/settings-mocks +++ b/level_0/f_environment/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings-tests b/level_0/f_environment/data/build/settings-tests index fb812be..0b1d0a5 100644 --- a/level_0/f_environment/data/build/settings-tests +++ b/level_0/f_environment/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_execute/data/build/settings b/level_0/f_execute/data/build/settings index dff24da..f06420a 100644 --- a/level_0/f_execute/data/build/settings +++ b/level_0/f_execute/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_execute/data/build/settings-tests b/level_0/f_execute/data/build/settings-tests index 8259aed..7c19ced 100644 --- a/level_0/f_execute/data/build/settings-tests +++ b/level_0/f_execute/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings b/level_0/f_file/data/build/settings index 4d0d29e..e77f312 100644 --- a/level_0/f_file/data/build/settings +++ b/level_0/f_file/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings-mocks b/level_0/f_file/data/build/settings-mocks index 515134c..17cc7e4 100644 --- a/level_0/f_file/data/build/settings-mocks +++ b/level_0/f_file/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings-tests b/level_0/f_file/data/build/settings-tests index c7d7c13..9eb22d8 100644 --- a/level_0/f_file/data/build/settings-tests +++ b/level_0/f_file/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings b/level_0/f_fss/data/build/settings index 664b372..ada2f8c 100644 --- a/level_0/f_fss/data/build/settings +++ b/level_0/f_fss/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings-mocks b/level_0/f_fss/data/build/settings-mocks index d2815f2..9f04a22 100644 --- a/level_0/f_fss/data/build/settings-mocks +++ b/level_0/f_fss/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -55,7 +55,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings-tests b/level_0/f_fss/data/build/settings-tests index b04aaf0..8a9643c 100644 --- a/level_0/f_fss/data/build/settings-tests +++ b/level_0/f_fss/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -64,7 +64,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings b/level_0/f_iki/data/build/settings index 9b371fd..d887e91 100644 --- a/level_0/f_iki/data/build/settings +++ b/level_0/f_iki/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings-mocks b/level_0/f_iki/data/build/settings-mocks index 779a827..8261b6a 100644 --- a/level_0/f_iki/data/build/settings-mocks +++ b/level_0/f_iki/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -58,7 +58,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_sigqueue_unsupported_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings-tests b/level_0/f_iki/data/build/settings-tests index 1eebd62..8bd8ca9 100644 --- a/level_0/f_iki/data/build/settings-tests +++ b/level_0/f_iki/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -52,7 +52,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings b/level_0/f_limit/data/build/settings index d3f335f..3e4bbd5 100644 --- a/level_0/f_limit/data/build/settings +++ b/level_0/f_limit/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings-mocks b/level_0/f_limit/data/build/settings-mocks index 6c27bdc..585e6a9 100644 --- a/level_0/f_limit/data/build/settings-mocks +++ b/level_0/f_limit/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -45,7 +45,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings-tests b/level_0/f_limit/data/build/settings-tests index 30b6858..3ee4cfe 100644 --- a/level_0/f_limit/data/build/settings-tests +++ b/level_0/f_limit/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -52,7 +52,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_memory/data/build/settings b/level_0/f_memory/data/build/settings index 70be3db..a4c11f2 100644 --- a/level_0/f_memory/data/build/settings +++ b/level_0/f_memory/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_memory/data/build/settings-tests b/level_0/f_memory/data/build/settings-tests index 21779e5..b675fad 100644 --- a/level_0/f_memory/data/build/settings-tests +++ b/level_0/f_memory/data/build/settings-tests @@ -11,8 +11,8 @@ version_major 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings b/level_0/f_network/data/build/settings index eaf6f0e..b372ea7 100644 --- a/level_0/f_network/data/build/settings +++ b/level_0/f_network/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings-mocks b/level_0/f_network/data/build/settings-mocks index 2dedff7..4e3b7c4 100644 --- a/level_0/f_network/data/build/settings-mocks +++ b/level_0/f_network/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -44,7 +44,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings-tests b/level_0/f_network/data/build/settings-tests index ed1c664..69c483c 100644 --- a/level_0/f_network/data/build/settings-tests +++ b/level_0/f_network/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_parse/data/build/settings b/level_0/f_parse/data/build/settings index 0c99562..47eef8e 100644 --- a/level_0/f_parse/data/build/settings +++ b/level_0/f_parse/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index c15661a..248db27 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings-mocks b/level_0/f_path/data/build/settings-mocks index 4e57692..01d0eb8 100644 --- a/level_0/f_path/data/build/settings-mocks +++ b/level_0/f_path/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings-tests b/level_0/f_path/data/build/settings-tests index 417ee80..f9ac89b 100644 --- a/level_0/f_path/data/build/settings-tests +++ b/level_0/f_path/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings b/level_0/f_pipe/data/build/settings index 4e29ead..9280cdb 100644 --- a/level_0/f_pipe/data/build/settings +++ b/level_0/f_pipe/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings-mocks b/level_0/f_pipe/data/build/settings-mocks index 4cb48a3..4df7bcd 100644 --- a/level_0/f_pipe/data/build/settings-mocks +++ b/level_0/f_pipe/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -44,7 +44,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings-tests b/level_0/f_pipe/data/build/settings-tests index b7c0a13..35cbbc4 100644 --- a/level_0/f_pipe/data/build/settings-tests +++ b/level_0/f_pipe/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings b/level_0/f_print/data/build/settings index 16b3fc3..bf937a3 100644 --- a/level_0/f_print/data/build/settings +++ b/level_0/f_print/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines-clang -D_clang_not_a_compile_time_constant_workaround_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings-mocks b/level_0/f_print/data/build/settings-mocks index 13c514d..c6aa366 100644 --- a/level_0/f_print/data/build/settings-mocks +++ b/level_0/f_print/data/build/settings-mocks @@ -18,7 +18,7 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage +modes individual clang gcc test coverage modes_default individual build_compiler gcc @@ -56,7 +56,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines-clang -D_clang_not_a_compile_time_constant_workaround_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings-tests b/level_0/f_print/data/build/settings-tests index 991c2f1..359c9a8 100644 --- a/level_0/f_print/data/build/settings-tests +++ b/level_0/f_print/data/build/settings-tests @@ -13,7 +13,7 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage +modes individual clang gcc test coverage modes_default individual build_compiler gcc @@ -70,7 +70,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings b/level_0/f_random/data/build/settings index 4b59895..755c011 100644 --- a/level_0/f_random/data/build/settings +++ b/level_0/f_random/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings-mocks b/level_0/f_random/data/build/settings-mocks index 4ee4533..3b1697a 100644 --- a/level_0/f_random/data/build/settings-mocks +++ b/level_0/f_random/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -45,7 +45,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings-tests b/level_0/f_random/data/build/settings-tests index db0efd7..0acac0c 100644 --- a/level_0/f_random/data/build/settings-tests +++ b/level_0/f_random/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_rip/data/build/settings b/level_0/f_rip/data/build/settings index a578aff..6188200 100644 --- a/level_0/f_rip/data/build/settings +++ b/level_0/f_rip/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings b/level_0/f_serialize/data/build/settings index 67a9b25..0bbc146 100644 --- a/level_0/f_serialize/data/build/settings +++ b/level_0/f_serialize/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -57,11 +58,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings-mocks b/level_0/f_serialize/data/build/settings-mocks index 2953393..d03c7ab 100644 --- a/level_0/f_serialize/data/build/settings-mocks +++ b/level_0/f_serialize/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings-tests b/level_0/f_serialize/data/build/settings-tests index fecf350..6641e8f 100644 --- a/level_0/f_serialize/data/build/settings-tests +++ b/level_0/f_serialize/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings b/level_0/f_signal/data/build/settings index b1a829a..bc33cca 100644 --- a/level_0/f_signal/data/build/settings +++ b/level_0/f_signal/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall -Wno-missing-braces flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings-mocks b/level_0/f_signal/data/build/settings-mocks index 6213df1..40b9506 100644 --- a/level_0/f_signal/data/build/settings-mocks +++ b/level_0/f_signal/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall -Wno-missing-braces flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings-tests b/level_0/f_signal/data/build/settings-tests index d800ff8..b64ccec 100644 --- a/level_0/f_signal/data/build/settings-tests +++ b/level_0/f_signal/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall -Wno-missing-braces flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings b/level_0/f_socket/data/build/settings index 018b7a5..80f77f6 100644 --- a/level_0/f_socket/data/build/settings +++ b/level_0/f_socket/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings-mocks b/level_0/f_socket/data/build/settings-mocks index 9643c14..6c827aa 100644 --- a/level_0/f_socket/data/build/settings-mocks +++ b/level_0/f_socket/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,6 +56,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings-tests b/level_0/f_socket/data/build/settings-tests index ff781c6..c035dd5 100644 --- a/level_0/f_socket/data/build/settings-tests +++ b/level_0/f_socket/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,6 +54,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status/data/build/settings b/level_0/f_status/data/build/settings index 40793be..953afe9 100644 --- a/level_0/f_status/data/build/settings +++ b/level_0/f_status/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -63,11 +64,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status/data/build/settings-tests b/level_0/f_status/data/build/settings-tests index e19544c..54db676 100644 --- a/level_0/f_status/data/build/settings-tests +++ b/level_0/f_status/data/build/settings-tests @@ -11,8 +11,8 @@ version_major 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status_string/data/build/settings b/level_0/f_status_string/data/build/settings index 77ac23b..fbae72f 100644 --- a/level_0/f_status_string/data/build/settings +++ b/level_0/f_status_string/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status_string/data/build/settings-tests b/level_0/f_status_string/data/build/settings-tests index 12868f5..ded26ec 100644 --- a/level_0/f_status_string/data/build/settings-tests +++ b/level_0/f_status_string/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings b/level_0/f_string/data/build/settings index 829f193..7fded20 100644 --- a/level_0/f_string/data/build/settings +++ b/level_0/f_string/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -77,11 +78,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings-mocks b/level_0/f_string/data/build/settings-mocks index 43e3b9d..1e1446b 100644 --- a/level_0/f_string/data/build/settings-mocks +++ b/level_0/f_string/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings-tests b/level_0/f_string/data/build/settings-tests index d597463..cef007f 100644 --- a/level_0/f_string/data/build/settings-tests +++ b/level_0/f_string/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -77,7 +77,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings b/level_0/f_thread/data/build/settings index 51f1255..43c770f 100644 --- a/level_0/f_thread/data/build/settings +++ b/level_0/f_thread/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,7 +24,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,11 +68,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings-mocks b/level_0/f_thread/data/build/settings-mocks index d1fb85c..9138e92 100644 --- a/level_0/f_thread/data/build/settings-mocks +++ b/level_0/f_thread/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -58,7 +58,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_sigqueue_unsupported_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings-tests b/level_0/f_thread/data/build/settings-tests index ae8a292..8a4a6cc 100644 --- a/level_0/f_thread/data/build/settings-tests +++ b/level_0/f_thread/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -126,7 +126,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_time/data/build/settings b/level_0/f_time/data/build/settings index 0a831c2..722cf02 100644 --- a/level_0/f_time/data/build/settings +++ b/level_0/f_time/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_time/data/build/settings-tests b/level_0/f_time/data/build/settings-tests index 3f1ad4f..89fd7e0 100644 --- a/level_0/f_time/data/build/settings-tests +++ b/level_0/f_time/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type/data/build/settings b/level_0/f_type/data/build/settings index d769cf1..3530ad0 100644 --- a/level_0/f_type/data/build/settings +++ b/level_0/f_type/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -63,11 +64,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings b/level_0/f_type_array/data/build/settings index 48a82c4..c8644ca 100644 --- a/level_0/f_type_array/data/build/settings +++ b/level_0/f_type_array/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings-mocks b/level_0/f_type_array/data/build/settings-mocks index 2bfe367..f8bc8dd 100644 --- a/level_0/f_type_array/data/build/settings-mocks +++ b/level_0/f_type_array/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -55,7 +55,9 @@ 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 flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall -Wno-missing-braces flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings-tests b/level_0/f_type_array/data/build/settings-tests index f1bc7a7..5b8ee98 100644 --- a/level_0/f_type_array/data/build/settings-tests +++ b/level_0/f_type_array/data/build/settings-tests @@ -11,8 +11,8 @@ version_major 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -72,7 +72,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings b/level_0/f_utf/data/build/settings index 1a626a6..a217798 100644 --- a/level_0/f_utf/data/build/settings +++ b/level_0/f_utf/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -68,11 +69,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings-mocks b/level_0/f_utf/data/build/settings-mocks index 04eafb1..421b153 100644 --- a/level_0/f_utf/data/build/settings-mocks +++ b/level_0/f_utf/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -57,7 +57,9 @@ 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 flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings-tests b/level_0/f_utf/data/build/settings-tests index 21ae898..cdab015 100644 --- a/level_0/f_utf/data/build/settings-tests +++ b/level_0/f_utf/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -99,7 +99,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_control_group/data/build/settings b/level_1/fl_control_group/data/build/settings index e20313a..90041a4 100644 --- a/level_1/fl_control_group/data/build/settings +++ b/level_1/fl_control_group/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_conversion/data/build/settings b/level_1/fl_conversion/data/build/settings index bb6778b..01751d1 100644 --- a/level_1/fl_conversion/data/build/settings +++ b/level_1/fl_conversion/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_directory/data/build/settings b/level_1/fl_directory/data/build/settings index 73e7b82..abe8f50 100644 --- a/level_1/fl_directory/data/build/settings +++ b/level_1/fl_directory/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_environment/data/build/settings b/level_1/fl_environment/data/build/settings index 9c78933..72e032d 100644 --- a/level_1/fl_environment/data/build/settings +++ b/level_1/fl_environment/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_execute/data/build/settings b/level_1/fl_execute/data/build/settings index c1f00d6..6e8ce86 100644 --- a/level_1/fl_execute/data/build/settings +++ b/level_1/fl_execute/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,11 +68,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_fss/data/build/settings b/level_1/fl_fss/data/build/settings index 2de5d93..0a45a4c 100644 --- a/level_1/fl_fss/data/build/settings +++ b/level_1/fl_fss/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_fss/data/build/settings-tests b/level_1/fl_fss/data/build/settings-tests index e461429..6a7100d 100644 --- a/level_1/fl_fss/data/build/settings-tests +++ b/level_1/fl_fss/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 4 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -57,10 +57,11 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_iki/data/build/settings b/level_1/fl_iki/data/build/settings index efa84ba..4446567 100644 --- a/level_1/fl_iki/data/build/settings +++ b/level_1/fl_iki/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_path/data/build/settings b/level_1/fl_path/data/build/settings index d8fc114..09b0a0c 100644 --- a/level_1/fl_path/data/build/settings +++ b/level_1/fl_path/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_path/data/build/settings-tests b/level_1/fl_path/data/build/settings-tests index 8f6464c..57c2a59 100644 --- a/level_1/fl_path/data/build/settings-tests +++ b/level_1/fl_path/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 4 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_print/data/build/settings b/level_1/fl_print/data/build/settings index ad29448..514e07b 100644 --- a/level_1/fl_print/data/build/settings +++ b/level_1/fl_print/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_status_string/data/build/settings b/level_1/fl_status_string/data/build/settings index 9220a1c..10b54ac 100644 --- a/level_1/fl_status_string/data/build/settings +++ b/level_1/fl_status_string/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_status_string/data/build/settings-tests b/level_1/fl_status_string/data/build/settings-tests index ac28a61..ac79e9e 100644 --- a/level_1/fl_status_string/data/build/settings-tests +++ b/level_1/fl_status_string/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_utf_file/data/build/settings b/level_1/fl_utf_file/data/build/settings index 2936e09..4f90da2 100644 --- a/level_1/fl_utf_file/data/build/settings +++ b/level_1/fl_utf_file/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_control_group/data/build/settings b/level_2/fll_control_group/data/build/settings index 3d0dc20..773daa1 100644 --- a/level_2/fll_control_group/data/build/settings +++ b/level_2/fll_control_group/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_error/data/build/settings b/level_2/fll_error/data/build/settings index e6c916a..81f0a59 100644 --- a/level_2/fll_error/data/build/settings +++ b/level_2/fll_error/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_execute/data/build/settings b/level_2/fll_execute/data/build/settings index 41a3b95..f589967 100644 --- a/level_2/fll_execute/data/build/settings +++ b/level_2/fll_execute/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -69,11 +70,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_file/data/build/settings b/level_2/fll_file/data/build/settings index 6f576f2..8a00558 100644 --- a/level_2/fll_file/data/build/settings +++ b/level_2/fll_file/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_fss/data/build/settings b/level_2/fll_fss/data/build/settings index cb0835b..5562ae3 100644 --- a/level_2/fll_fss/data/build/settings +++ b/level_2/fll_fss/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_fss_status_string/data/build/settings b/level_2/fll_fss_status_string/data/build/settings index b2cde19..a18613c 100644 --- a/level_2/fll_fss_status_string/data/build/settings +++ b/level_2/fll_fss_status_string/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_iki/data/build/settings b/level_2/fll_iki/data/build/settings index f4396b8..bd31bde 100644 --- a/level_2/fll_iki/data/build/settings +++ b/level_2/fll_iki/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_print/data/build/settings b/level_2/fll_print/data/build/settings index c700289..e0f2e80 100644 --- a/level_2/fll_print/data/build/settings +++ b/level_2/fll_print/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_program/data/build/settings b/level_2/fll_program/data/build/settings index de3983f..4a35b12 100644 --- a/level_2/fll_program/data/build/settings +++ b/level_2/fll_program/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index f88f431..5166560 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -76,11 +77,12 @@ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-clang -D_clang_not_a_compile_time_constant_workaround_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index 5a21000..cbcc66d 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 48591ab..cf3883e 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless as_init -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless as_init +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -89,11 +90,12 @@ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-as_init -D_controller_as_init_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/example/data/build/settings b/level_3/example/data/build/settings index 2d03da1..0dc732b 100644 --- a/level_3/example/data/build/settings +++ b/level_3/example/data/build/settings @@ -7,7 +7,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -84,11 +85,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index d36c7fc..82178ec 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -24,8 +25,8 @@ version_target minor process_pre process_pre.sh process_post process_post.sh -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -88,11 +89,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index be4d975..621b8f0 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -83,11 +84,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/fss_identify/data/build/settings b/level_3/fss_identify/data/build/settings index 5cad4ee..1f2e7e5 100644 --- a/level_3/fss_identify/data/build/settings +++ b/level_3/fss_identify/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/fss_read/data/build/settings b/level_3/fss_read/data/build/settings index c0a1dc3..11a6145 100644 --- a/level_3/fss_read/data/build/settings +++ b/level_3/fss_read/data/build/settings @@ -7,7 +7,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -76,11 +77,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-main -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/fss_read/data/build/settings.basic b/level_3/fss_read/data/build/settings.basic index 6b42bea..fc7f052 100644 --- a/level_3/fss_read/data/build/settings.basic +++ b/level_3/fss_read/data/build/settings.basic @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.basic_list b/level_3/fss_read/data/build/settings.basic_list index 5ff4ae4..bf3b8df 100644 --- a/level_3/fss_read/data/build/settings.basic_list +++ b/level_3/fss_read/data/build/settings.basic_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.embedded_list b/level_3/fss_read/data/build/settings.embedded_list index 73ecd44..0d3b2a7 100644 --- a/level_3/fss_read/data/build/settings.embedded_list +++ b/level_3/fss_read/data/build/settings.embedded_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.extended b/level_3/fss_read/data/build/settings.extended index 3bbfd16..1630f22 100644 --- a/level_3/fss_read/data/build/settings.extended +++ b/level_3/fss_read/data/build/settings.extended @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.extended_list b/level_3/fss_read/data/build/settings.extended_list index a2ef716..49b8aee 100644 --- a/level_3/fss_read/data/build/settings.extended_list +++ b/level_3/fss_read/data/build/settings.extended_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.main b/level_3/fss_read/data/build/settings.main index 91e948c..6881b73 100644 --- a/level_3/fss_read/data/build/settings.main +++ b/level_3/fss_read/data/build/settings.main @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.payload b/level_3/fss_read/data/build/settings.payload index d00907b..0a3b008 100644 --- a/level_3/fss_read/data/build/settings.payload +++ b/level_3/fss_read/data/build/settings.payload @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings b/level_3/fss_write/data/build/settings index 89ab5d3..a305699 100644 --- a/level_3/fss_write/data/build/settings +++ b/level_3/fss_write/data/build/settings @@ -7,7 +7,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -76,11 +77,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/fss_write/data/build/settings.basic b/level_3/fss_write/data/build/settings.basic index 9317e17..1c0e172 100644 --- a/level_3/fss_write/data/build/settings.basic +++ b/level_3/fss_write/data/build/settings.basic @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.basic_list b/level_3/fss_write/data/build/settings.basic_list index d6eaf0b..ca6d12e 100644 --- a/level_3/fss_write/data/build/settings.basic_list +++ b/level_3/fss_write/data/build/settings.basic_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.embedded_list b/level_3/fss_write/data/build/settings.embedded_list index 54cfadd..f09d17c 100644 --- a/level_3/fss_write/data/build/settings.embedded_list +++ b/level_3/fss_write/data/build/settings.embedded_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.extended b/level_3/fss_write/data/build/settings.extended index 39596ce..bec7d3b 100644 --- a/level_3/fss_write/data/build/settings.extended +++ b/level_3/fss_write/data/build/settings.extended @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.extended_list b/level_3/fss_write/data/build/settings.extended_list index d046242..3ad72c7 100644 --- a/level_3/fss_write/data/build/settings.extended_list +++ b/level_3/fss_write/data/build/settings.extended_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.main b/level_3/fss_write/data/build/settings.main index c4e572d..1c1a013 100644 --- a/level_3/fss_write/data/build/settings.main +++ b/level_3/fss_write/data/build/settings.main @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.payload b/level_3/fss_write/data/build/settings.payload index 50fe93f..e206c32 100644 --- a/level_3/fss_write/data/build/settings.payload +++ b/level_3/fss_write/data/build/settings.payload @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index fec8946..076bd2c 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index 11c4ede..50d2687 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -74,11 +75,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index 65f793f..b370aed 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -7,7 +7,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -77,11 +78,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ diff --git a/level_3/status_code/data/build/settings.fss b/level_3/status_code/data/build/settings.fss index f6402c9..6ad09f3 100644 --- a/level_3/status_code/data/build/settings.fss +++ b/level_3/status_code/data/build/settings.fss @@ -23,8 +23,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,6 +75,7 @@ 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-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/status_code/data/build/settings.main b/level_3/status_code/data/build/settings.main index bc16a17..411222d 100644 --- a/level_3/status_code/data/build/settings.main +++ b/level_3/status_code/data/build/settings.main @@ -23,8 +23,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,6 +75,7 @@ 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-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/utf8/data/build/settings b/level_3/utf8/data/build/settings index 613d99f..e321ab2 100644 --- a/level_3/utf8/data/build/settings +++ b/level_3/utf8/data/build/settings @@ -5,7 +5,8 @@ # - individual_thread: This is required when compiling in individual mode with "thread" mode. # - level: Compile using per level libraries. # - monolithic: Compile using per monolithic libraries. -# - clang: Use clang rather than the default, which is generally gcc +# - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ defines-threadless -D_di_thread_support_ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -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/ -- 1.8.3.1