Add flag -w to rgbasm to disable warnings

A lot of warnings are being added (and more will come) so it makes sense
to be able to disable them in legacy source that generates warnings but
is otherwise correct.

Signed-off-by: AntonioND <antonio_nd@outlook.com>
This commit is contained in:
AntonioND
2017-04-05 23:01:50 +01:00
committed by Antonio Niño Díaz
parent 2783a36b17
commit 52081f32f0
3 changed files with 12 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ struct sOptions {
bool verbose;
bool haltnop;
bool exportall;
bool warnings; /* true to enable warnings, false to disable them. */
//-1 == random
};