What is the main difference between fatal errors and non-fatal errors dipslayed in an IDE when one tries to compile the code?
In both cases the compiler shows an error message and the program is not compiled. Are fatal errors the undefined compiler errors in a compiler or linker?
A fatal error would probably stop compilation of that translation unit immediately.
A compiler may continue compiling after an error in order to reveal to you a more comprehensive list of issues.
Although in your case it appears that the preprocessor has issued the fatal error. Perhaps it's simply down to the mood of the compiler writer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With