]> Kevux Git Server - fll/commitdiff
Bugfix: Add missing includes, add missing fanalyzer mode, and fix problems with stand...
authorKevin Day <kevin@kevux.org>
Sat, 18 Mar 2023 02:36:55 +0000 (21:36 -0500)
committerKevin Day <kevin@kevux.org>
Sat, 18 Mar 2023 02:36:55 +0000 (21:36 -0500)
The stand alone Featureless Make is not building properly.
Investigation reveals that there are missing sources and missing header includes.

For some reason the missing includes do not cause a problem in 0.6 or in non-stand_alone 0.7 builds.
However, it does cause a problem in the stand alone build.
Add the missing header includes.

build/stand_alone/byte_dump.settings
build/stand_alone/fake.settings
build/stand_alone/firewall.settings
build/stand_alone/utf8.settings
level_1/fl_execute/c/execute.h
level_3/fake/c/main/fake.h

index 0236fac1ed73077f57d6c6ec20cef7575964f8c0..81e9ec6bdaac8e40addd0ffd4a7f60b7b0c6620d 100644 (file)
@@ -12,7 +12,7 @@ version_micro 2
 version_file micro
 version_target minor
 
-modes stand_alone clang
+modes stand_alone clang fanalyzer
 modes_default stand_alone
 
 build_compiler gcc
@@ -81,6 +81,7 @@ defines-clang -D_clang_not_a_compile_time_constant_workaround_
 
 flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces
 flags-clang -Wno-logical-op-parentheses
+flags-fanalyzer -fanalyzer
 
 flags_library -fPIC
 flags_object -fPIC
index 66662d51dec4ca44fdce433dfb7251e73b6de4f0..ed8e2d160b9e29fdc56e627c8d59c16d8a94df08 100644 (file)
@@ -12,7 +12,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes stand_alone clang
+modes stand_alone clang fanalyzer
 modes_default stand_alone
 
 build_compiler gcc
@@ -29,12 +29,12 @@ build_sources_program fll/level_0/color.c fll/level_0/private-color.c fll/level_
 build_sources_program fll/level_0/console.c fll/level_0/console/common.c fll/level_0/private-console.c
 build_sources_program fll/level_0/control_group.c fll/level_0/control_group/common.c
 build_sources_program fll/level_0/conversion.c fll/level_0/private-conversion.c fll/level_0/conversion/common.c
-build_sources_program fll/level_0/directory.c fll/level_0/directory/common.c fll/level_0/private-directory.c
+build_sources_program fll/level_0/directory.c fll/level_0/directory/common.c fll/level_0/directory/type.c fll/level_0/private-directory.c fll/level_0/directory/private-type.c
 build_sources_program fll/level_0/environment.c
 build_sources_program fll/level_0/execute.c
 build_sources_program fll/level_0/file.c fll/level_0/private-file.c fll/level_0/file/common.c fll/level_0/file/stream.c
 build_sources_program fll/level_0/fss.c fll/level_0/private-fss.c fll/level_0/fss/common.c fll/level_0/fss/named.c fll/level_0/fss/nest.c fll/level_0/fss/set.c
-build_sources_program fll/level_0/iki.c fll/level_0/iki/common.c fll/level_0/iki/data.c fll/level_0/private-iki.c fll/level_0/iki/private-data.c
+build_sources_program fll/level_0/iki.c fll/level_0/private-iki.c fll/level_0/iki/common.c fll/level_0/iki/private-data.c fll/level_0/iki/data.c
 build_sources_program fll/level_0/limit.c fll/level_0/limit/set.c fll/level_0/limit/value.c fll/level_0/limit/private-set.c fll/level_0/limit/private-value.c
 build_sources_program fll/level_0/memory.c fll/level_0/private-memory.c fll/level_0/memory/structure.c
 build_sources_program fll/level_0/path.c fll/level_0/private-path.c fll/level_0/path/common.c
@@ -60,7 +60,7 @@ build_sources_program fll/level_1/path.c
 build_sources_program fll/level_1/print.c fll/level_1/private-print.c fll/level_1/print/common.c
 build_sources_program fll/level_1/string.c fll/level_1/private-string.c
 
-build_sources_program fll/level_2/error.c fll/level_2/error/common.c fll/level_2/private-error.c
+build_sources_program fll/level_2/error.c fll/level_2/private-error.c fll/level_2/error/common.c
 build_sources_program fll/level_2/execute.c fll/level_2/private-execute.c
 build_sources_program fll/level_2/file.c fll/level_2/private-file.c
 build_sources_program fll/level_2/fss.c fll/level_2/fss/basic.c fll/level_2/fss/basic_list.c fll/level_2/fss/embedded_list.c fll/level_2/fss/extended.c fll/level_2/fss/extended_list.c fll/level_2/fss/payload.c
@@ -110,6 +110,7 @@ defines-clang -D_clang_not_a_compile_time_constant_workaround_
 
 flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags-clang -Wno-logical-op-parentheses
+flags-fanalyzer -fanalyzer
 
 flags_library -fPIC
 flags_object -fPIC
index d643eb386a247f4f5c4e7a4041ce579e2e51f41f..df8f4a6f390ec143f4792d2289cbede7a8830ca6 100644 (file)
@@ -12,7 +12,7 @@ version_micro 2
 version_file micro
 version_target minor
 
-modes stand_alone clang
+modes stand_alone clang fanalyzer
 modes_default stand_alone
 
 build_compiler gcc
@@ -98,6 +98,7 @@ defines-clang -D_clang_not_a_compile_time_constant_workaround_
 
 flags -O2 -z now -g -pthread -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces
 flags-clang -Wno-logical-op-parentheses
+flags-fanalyzer -fanalyzer
 
 flags_library -fPIC
 flags_object -fPIC
index 5287836adbf9e7ae2a523208a1be4c41d98a01eb..dcec725803ea838ffd6fd5deff90bdb1b8b03220 100644 (file)
@@ -12,7 +12,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes stand_alone clang
+modes stand_alone clang fanalyzer
 modes_default stand_alone
 
 build_compiler gcc
@@ -83,6 +83,7 @@ defines-clang -D_clang_not_a_compile_time_constant_workaround_
 
 flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags-clang -Wno-logical-op-parentheses
+flags-fanalyzer -fanalyzer
 
 flags_library -fPIC
 flags_object -fPIC
index 061dbc234f464d5cf20ef5013af7893095c4158a..ef222ad71fb023b42ed24ea9a97fab230deba5dc 100644 (file)
@@ -28,6 +28,9 @@
 #include <fll/level_0/status.h>
 #include <fll/level_0/memory.h>
 #include <fll/level_0/type_array.h>
+#include <fll/level_0/string.h>
+#include <fll/level_0/capability.h>
+#include <fll/level_0/control_group.h>
 #include <fll/level_0/execute.h>
 #include <fll/level_0/limit.h>
 #include <fll/level_0/signal.h>
index 2f478130a5e2f7640980751b3bc9a7d56c549508..fb8d5defc80b39ea0446afc14522487aee3f966e 100644 (file)
 #include <fll/level_0/signal.h>
 
 // FLL-1 includes.
+#include <fll/level_1/control_group.h>
 #include <fll/level_1/conversion.h>
 #include <fll/level_1/directory.h>
 #include <fll/level_1/environment.h>
+#include <fll/level_1/execute.h>
 #include <fll/level_1/iki.h>
 #include <fll/level_1/path.h>
 #include <fll/level_1/print.h>