Cleaning up noisy build logs

This commit is contained in:
Peter Slattery 2025-07-11 17:58:58 -07:00
parent 324a78ae1e
commit 877527e918
4 changed files with 275 additions and 273 deletions

View File

@ -505,10 +505,12 @@ api_definition_generate_api_includes(Arena *arena, API_Definition *api, Generate
return(false);
}
#if 0
printf("%s:1:\n", fname_ml.str);
printf("%s:1:\n", fname_h.str);
printf("%s:1:\n", fname_cpp.str);
printf("%s:1:\n", fname_con.str);
#endif
////////////////////////////////

View File

@ -70,7 +70,7 @@ function Event_Code*
add_code(Arena *arena, Event_Code_List *list, String_Const_u8 name){
Event_Code *code = push_array(arena, Event_Code, 1);
sll_queue_push(list->first, list->last, code);
list->count;
list->count += 1;
code->name = push_string_copy(arena, name);
return(code);
}

View File

@ -35,8 +35,8 @@ debug=-g
opts="-Wno-macro-redefined -Wno-write-strings -Wno-null-dereference -Wno-comment -Wno-switch -Wno-missing-declarations -Wno-logical-op-parentheses -g -DOS_LINUX=1 -DOS_WINDOWS=0 -DOS_MAC=0"
pushd $dst
pushd $dst > /dev/null
g++ -I"$CUSTOM_ROOT" $opts $full_target -o one_time
popd
popd > /dev/null

View File

@ -732,8 +732,8 @@ smi_field_set_intersect(Arena *arena, Field_Set a, Field_Set b){
for (Field_Pin *pin = new_list->first;
pin != 0;
pin = pin->next){
if (pin->flag == pin->flag){
if (pin->value != pin->value){
if (pin->flag == b_pin->flag){
if (pin->value != b_pin->value){
end_temp(restore_point);
has_conflicts = true;
goto double_break;
@ -4036,8 +4036,8 @@ int main(void){
fclose(out_h_file);
fclose(out_cpp_file);
printf("%.*s:1:\n", string_expand(out_h_name));
printf("%.*s:1:\n", string_expand(out_cpp_name));
//printf("%.*s:1:\n", string_expand(out_h_name));
//printf("%.*s:1:\n", string_expand(out_cpp_name));
// NOTE(allen): Simplifying the state machine
// Isolate the state machine's parts into small L.U.T. then generate tables?