mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-23 11:32:07 +00:00
Implement a single nbErrors counter inside generic diagnostic code
This commit is contained in:
@@ -25,7 +25,7 @@ struct Options {
|
||||
bool generatePhonyDeps = false; // -MP
|
||||
std::string objectFileName; // -o
|
||||
uint8_t padByte = 0; // -p
|
||||
unsigned int maxErrors = 0; // -X
|
||||
uint64_t maxErrors = 0; // -X
|
||||
|
||||
~Options() {
|
||||
if (dependFile) {
|
||||
|
||||
@@ -80,7 +80,6 @@ void error(char const *fmt, ...);
|
||||
// once.
|
||||
void error(std::function<void()> callback);
|
||||
|
||||
void forceError();
|
||||
void requireZeroErrors();
|
||||
|
||||
#endif // RGBDS_ASM_WARNING_HPP
|
||||
|
||||
Reference in New Issue
Block a user