mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Treat warnings as errors like dmd does
This commit is contained in:
@@ -924,7 +924,7 @@ LDC_TARGETS
|
||||
}
|
||||
#endif
|
||||
}
|
||||
if (global.errors)
|
||||
if (global.errors || global.warnings)
|
||||
fatal();
|
||||
|
||||
// write module dependencies to file if requested
|
||||
|
||||
Reference in New Issue
Block a user