the \c{-Xvc} option and the \c{-Xgnu} option. The GNU format is
the default and looks like this:
-\c filename.asm:65: error:specific error message
-
+\c filename.asm:65: error: specific error message
where \c{filename.asm} is the name of the source file in which the
error was detected, \c{65} is the source file line number on which
The other format, specified by \c{-Xvc} is the style used by Microsoft
Visual C++ and some other programs. It looks like this:
-\c filename.asm(65) error:specific error message
-
+\c filename.asm(65) : error: specific error message
where the only difference is that the line number is in parentheses
instead of being delimited by colons.
* This function prints an error message to error_file in the
* style used by Visual C and some other Microsoft tools. An example
* would be:
- * c:\project\file.asm(50) error: blah blah blah
+ * c:\project\file.asm(50) : error: blah blah blah
* where c:\project\file.asm is the full path of the file,
* 50 is the line number on which the error occurs (or is detected)
* and "error:" is one of the possible optional diagnostics -- it
char * currentfile = NULL;
long lineno = 0;
src_get (&lineno, ¤tfile);
- fprintf (error_file, "%s(%ld) ", currentfile, lineno);
+ fprintf (error_file, "%s(%ld) : ", currentfile, lineno);
nasm_free (currentfile);
}
va_start (ap, fmt);