errors.html
来自「gcc手册」· HTML 代码 · 共 49 行
HTML
49 行
<html lang="en">
<head>
<title>Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.3">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home">
</head>
<body>
<div class="node">
<p>
Node:<a name="Errors">Errors</a>,
Previous:<a rel="previous" accesskey="p" href="Object.html#Object">Object</a>,
Up:<a rel="up" accesskey="u" href="Overview.html#Overview">Overview</a>
<hr><br>
</div>
<h3 class="section">Error and Warning Messages</h3>
<p><code>as</code> may write warnings and error messages to the standard error
file (usually your terminal). This should not happen when a compiler
runs <code>as</code> automatically. Warnings report an assumption made so
that <code>as</code> could keep assembling a flawed program; errors report a
grave problem that stops the assembly.
<p>Warning messages have the format
<pre class="smallexample"> file_name:<b>NNN</b>:Warning Message Text
</pre>
<p>(where <b>NNN</b> is a line number). If a logical file name has been given
(see <a href="File.html#File"><code>.file</code></a>) it is used for the filename, otherwise the name of
the current input file is used. If a logical line number was given
(see <a href="Line.html#Line"><code>.line</code></a>)
then it is used to calculate the number printed,
otherwise the actual line in the current source file is printed. The
message text is intended to be self explanatory (in the grand Unix
tradition).
<p>Error messages have the format
<pre class="smallexample"> file_name:<b>NNN</b>:FATAL:Error Message Text
</pre>
The file name and line number are derived as for warning
messages. The actual message text may be rather less explanatory
because many of them aren't supposed to happen.
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?