From: Kevin Day Date: Sat, 14 Jan 2023 23:33:54 +0000 (-0600) Subject: Update: The disable header files. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=ab6c55c3e579a71ad18363a6e8301c4cdc36ad10;p=fll Update: The disable header files. --- diff --git a/build/disable/about.txt b/build/disable/about.txt index 2843566..f36558e 100644 --- a/build/disable/about.txt +++ b/build/disable/about.txt @@ -23,7 +23,9 @@ These files are generated like the following: Make sure the parameter checking files do not exist. # sed -i -e '/_di_level_0_parameter_checking_/d' -e '/_di_level_1_parameter_checking_/d' -e '/_di_level_2_parameter_checking_/d' build/disable/level_?/*.h -There are some defines that need to be manually removed if they don't belong, such as "_di_pthread_support_" and "_di_libcap_". +Make sure to remove known special cases that are pulled in by the above process but should not exist. +# sed -i -e '/#define _di_libcap_/d' build/disable/level_?/*.h +# sed -i -e '/#define _di_thread_support_/d' build/disable/level_?/*.h Use these files to construct a list of all defines to potentially disable based on the "dependencies" of a given project. Consider the following example using the fake dependencies for the stand alone builds. diff --git a/build/disable/level_0/f_conversion.h b/build/disable/level_0/f_conversion.h index 94c7cd7..a7c35f2 100644 --- a/build/disable/level_0/f_conversion.h +++ b/build/disable/level_0/f_conversion.h @@ -16,3 +16,4 @@ #define _di_f_conversion_number_signed_to_string_ #define _di_f_conversion_number_unsigned_print_ #define _di_f_conversion_number_unsigned_to_string_ +#define _di_f_type_number_64_t_ diff --git a/build/disable/level_0/f_file.h b/build/disable/level_0/f_file.h index 85a8026..b3d8913 100644 --- a/build/disable/level_0/f_file.h +++ b/build/disable/level_0/f_file.h @@ -21,6 +21,7 @@ #define _di_f_file_group_read_ #define _di_f_file_is_ #define _di_f_file_is_at_ +#define _di_f_file_is_stat_ #define _di_f_file_link_ #define _di_f_file_link_at_ #define _di_f_file_link_hard_ diff --git a/build/disable/level_0/f_type.h b/build/disable/level_0/f_type.h index b952ab9..80f0c71 100644 --- a/build/disable/level_0/f_type.h +++ b/build/disable/level_0/f_type.h @@ -10,10 +10,21 @@ #define _di_f_fll_idss_t_ #define _di_f_fll_ids_t_ #define _di_f_fll_id_t_ -#define _di_f_int_128_t_ +#define _di_f_int128ss_t_ +#define _di_f_int128s_t_ +#define _di_f_int128_t_ +#define _di_f_int16ss_t_ +#define _di_f_int16s_t_ +#define _di_f_int32ss_t_ +#define _di_f_int32s_t_ +#define _di_f_int64ss_t_ +#define _di_f_int64s_t_ +#define _di_f_int8ss_t_ +#define _di_f_int8s_t_ #define _di_f_mode_t_ #define _di_f_statess_t_ #define _di_f_states_t_ +#define _di_f_state_t_ #define _di_f_statusss_t_ #define _di_f_statuss_t_ #define _di_f_status_t_ @@ -23,26 +34,14 @@ #define _di_f_type_input_output_d_ #define _di_f_type_number_64_t_ #define _di_f_type_sizes_d_ -#define _di_f_type_state_t_ -#define _di_int128ss_t_ -#define _di_int128s_t_ -#define _di_int128_t_ -#define _di_int16ss_t_ -#define _di_int16s_t_ -#define _di_int32ss_t_ -#define _di_int32s_t_ -#define _di_int64ss_t_ -#define _di_int64s_t_ -#define _di_int8ss_t_ -#define _di_int8s_t_ -#define _di_uint128ss_t_ -#define _di_uint128s_t_ -#define _di_uint128_t_ -#define _di_uint16ss_t_ -#define _di_uint16s_t_ -#define _di_uint32ss_t_ -#define _di_uint32s_t_ -#define _di_uint64ss_t_ -#define _di_uint64s_t_ -#define _di_uint8ss_t_ -#define _di_uint8s_t_ +#define _di_f_uint128ss_t_ +#define _di_f_uint128s_t_ +#define _di_f_uint128_t_ +#define _di_f_uint16ss_t_ +#define _di_f_uint16s_t_ +#define _di_f_uint32ss_t_ +#define _di_f_uint32s_t_ +#define _di_f_uint64ss_t_ +#define _di_f_uint64s_t_ +#define _di_f_uint8ss_t_ +#define _di_f_uint8s_t_ diff --git a/build/disable/level_1/fl_conversion.h b/build/disable/level_1/fl_conversion.h index f123e6a..ed606d5 100644 --- a/build/disable/level_1/fl_conversion.h +++ b/build/disable/level_1/fl_conversion.h @@ -6,7 +6,7 @@ #define _di_fl_conversion_data_c_ #define _di_fl_conversion_data_endian_big_c_ #define _di_fl_conversion_data_endian_little_c_ -#define _di_fl_conversion_data_flag_d_ +#define _di_fl_conversion_data_flag_e_ #define _di_fl_conversion_data_t_ #define _di_fl_conversion_dynamic_partial_to_signed_ #define _di_fl_conversion_dynamic_partial_to_signed_detect_ diff --git a/build/disable/level_2/fll_program.h b/build/disable/level_2/fll_program.h index 61962ba..9fae334 100644 --- a/build/disable/level_2/fll_program.h +++ b/build/disable/level_2/fll_program.h @@ -19,6 +19,7 @@ #define _di_fll_program_print_error_parameter_both_specified_same_amount_without_ #define _di_fll_program_print_error_parameter_cannot_use_with_ #define _di_fll_program_print_error_parameter_cannot_use_with_pipe_ +#define _di_fll_program_print_error_parameter_cannot_use_with_without_ #define _di_fll_program_print_error_parameter_cannot_use_with_xor_ #define _di_fll_program_print_error_parameter_integer_not_ #define _di_fll_program_print_error_parameter_integer_not_negative_