mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user