GNU Info

Info Node: (nasm.info)Section 2.1.7

(nasm.info)Section 2.1.7


Next: Section 2.1.8 Prev: Section 2.1.6 Up: Section 2.1
Enter node , (file) or (file)node

2.1.7. The `-X' Option: Selecting an Error Reporting Format
-----------------------------------------------------------

   This option can be used to select an error reporting format for any
error messages that might be produced by NASM.

   Currently, two error reporting formats may be selected. They are the
`-Xvc' option and the `-Xgnu' option. The GNU format is the default and
looks like this:

     filename.asm:65: error: specific error message

   where `filename.asm' is the name of the source file in which the
error was detected, `65' is the source file line number on which the
error was detected, `error' is the severity of the error (this could be
`warning'), and `specific error message' is a more detailed text
message which should help pinpoint the exact problem.

   The other format, specified by `-Xvc' is the style used by Microsoft
Visual C++ and some other programs. It looks like this:

     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.

   See also the `Visual C++' output format, *Note Section 6.3::.


automatically generated by info2www version 1.2.2.9