for (j = 0; j < sources[i]->used; ++j) {
+ if (!sources[i]->array[j].used) continue;
+
file_name.used = 0;
destination_path.used = 0;
- fake_build_path_source_length(main, data_build, &data_build->setting.path_sources_object, &source);
+ fake_build_path_source_length(main, data_build, &data_build->setting.path_sources, &source);
char source_string[source.used + sources[i]->array[j].used + 1];
source.string = source_string;
- fake_build_path_source_string(main, data_build, &data_build->setting.path_sources_object, &source);
+ fake_build_path_source_string(main, data_build, &data_build->setting.path_sources, &source);
memcpy(source_string + source.used, sources[i]->array[j].string, sources[i]->array[j].used);
source.used += sources[i]->array[j].used;
return 0;
}
- {
+ if (F_status_is_error_not(*status)) {
f_string_static_t source_library = f_string_static_t_initialize;
source_library.used = main->path_build_libraries_static.used + fake_build_parameter_library_name_prefix_s.used + data_build->setting.build_name.used + fake_build_parameter_library_name_suffix_static_s.used;
#include <stdio.h>
-extern void print_f();
-extern void print_a();
-extern void print_k();
-extern void print_e();
+extern void print_f(void);
+extern void print_a(void);
+extern void print_k(void);
+extern void print_e(void);
-int main(int argc, char *argv[]) {
+int main(int argc, char *argv[], char *envp[]) {
print_f();
print_a();
print_k();