Add warning in code generation stage which might cause a possible code gen issue, when non-constant initialization is large

This commit is contained in:
gingerBill
2026-01-22 13:54:53 +00:00
parent 78ed2560d3
commit 5072d5c776
2 changed files with 13 additions and 0 deletions

View File

@@ -4046,6 +4046,14 @@ int main(int arg_count, char const **arg_ptr) {
remove_temp_files(gen);
}
if (any_errors()) {
print_all_errors();
return 1;
}
if (any_warnings()) {
print_all_errors();
}
end_of_code_gen:;
if (build_context.export_dependencies_format != DependenciesExportUnspecified) {