(Unloading): Improve index entry.
[bpt/emacs.git] / etc / compilation.txt
index 3baebe6..933b486 100644 (file)
@@ -1,10 +1,13 @@
-* Introduction  -*-compilation-*-
+* Introduction  -*-compilation-*-       (Copyright information at end of file)
 
 This shows the different kinds of messages compile recognizes by default and
 how they are rendered.  It is intended both to help you decide which matchers
 you need and as a test of the matchers.  Move the mouse over a colored part or
 use `compilation-message-face', to see how much text was actually matched.
 
+Note that the following example line should NOT be highlighted:
+Compilation started at Sat Jul  8 15:19:25
+
 The important part is the symbol(s) line at the beginning of each entry.
 These are the symbols you can customize `compilation-error-regexp-alist' for,
 to match the messages shown in that entry.  A few complex cases have more than
@@ -91,6 +94,16 @@ symbol: comma
 "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment.
 
 
+* EDG C/C++
+
+symbol: edg-1 edg-2
+
+build/intel/debug/../../../struct.cpp(42): error: identifier "foo" is undefined
+build/intel/debug/../../../struct.cpp(44): warning #1011: missing return statement at end of ...
+build/intel/debug/../../../iptr.h(302): remark #981: operands are evaluated in unspecified order
+          detected during ... at line 62 of "build/intel/debug/../../../trace.h"
+
+
 * EPC F90 compiler
 
 symbol: epc
@@ -98,6 +111,16 @@ symbol: epc
 Error 24 at (2:progran.f90) : syntax error
 
 
+* Fortran checker
+
+symbols: ftnchek
+
+    Dummy arg W in module SUBA line 8 file arrayclash.f is array
+    L4 used at line 55 file test/assign.f; never set
+Warning near line 10 file arrayclash.f: Module contains no executable
+Nonportable usage near line 31 col 9 file assign.f: mixed default and explicit
+
+
 * IAR Systems C Compiler
 
 symbol: iar
@@ -115,7 +138,7 @@ foo.c(3:8) : warning EDC0833: Implicit return statement encountered.
 foo.c(5:5) : error EDC0350: Syntax error.
 
 
-* Ultrix MIPS RISC CC & DEC AXP OSF/1 cc & IRIX 5.2
+* Ultrix MIPS RISC CC, DEC AXP OSF/1 cc, IRIX 5.2 & NAG Fortran
 
 symbol: irix
 
@@ -126,6 +149,7 @@ cfe: Warning 712: foo.c, line 2: illegal combination of pointer and ...
 cfe: Warning 600: xfe.c: 170: Not in a conditional directive while ...
 /usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah
 /usr/lib/cmplrs/cc/cfe: warning: foo.c: 1: blah blah
+foo bar: baz.f, line 27: ...
 
 
 * Java Exception & Valgrind (memory debugger for x86 GNU/Linux)
@@ -195,6 +219,7 @@ foo.c:8.23-9.1: message
 jade:dbcommon.dsl:133:17:E: missing argument for function call
 G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found.
 file:G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found.
+{standard input}:27041: Warning: end of file not at end of a line; newline inserted
 
 
 * Lucid Compiler, lcc 3.x
@@ -242,7 +267,17 @@ d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'
 
 symbol: oracle
 
+This stupid precompiler wraps lines at column 80 in the middle of a file name.
+There is no obvious way of detecting this or turning it off.  But if you
+delete the newline (probably needs M-x toggle-read-only), the file name will
+automatically be reparsed, so that you can then go there.
+
 Semantic error at line 528, column 5, file erosacqdb.pc:
+Error at line 41, column 10 in file /usr/src/sb/ODBI_BHP.hpp
+PCC-02150: error at line 49, column 27 in file /usr/src/sb/ODBI_dxfgh.pc
+PCC-00003: invalid SQL Identifier at column name in line 12 of file /usr/src/sb/ODBI_BHP.hpp
+PCC-00004: mismatched IF/ELSE/ENDIF block at line 27 in file /usr/src/sb/ODBI_BHP.hpp
+PCC-02151: line 21 column 40 file /usr/src/sb/ODBI_BHP.hpp:
 
 
 * Perl
@@ -299,14 +334,6 @@ symbol: sun-ada
 /home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: "," inserted
 
 
-* Ultrix 3.0 f77 & Some SGI cc version
-
-symbol: ultrix
-
-fort: Severe: addstf.f, line 82: Missing operator or delimiter symbol
-cfe: Warning 835: foo.c, line 2: something
-
-
 * 4.3BSD grep, cc, lint
 
 symbol: 4bsd
@@ -317,6 +344,32 @@ strcmp: variable # of args. llib-lc(359)  ::  /usr/src/foo/foo.c(8)
 bloofle defined( /users/wolfgang/foo.c(4) ), but never used
 
 
+* GCOV (test coverage program)
+
+symbol: gcov-file gcov-bb-file gcov-never-called-line gcov-called-line 
+
+        -:    0:Source:foo.c
+        -:    0:Object:foo.bb
+        -:    1:/* $ gcc -fprofile-arcs -ftest-coverage foo.c 
+        -:    2:   $ ./a.out
+        -:    3:   $ gcov foo.c
+        -:    4:   LANG=C gcov foo.c
+        -:    5:   62.50% of 8 lines executed in file foo.c
+        -:    6:   Creating foo.c.gcov.*/
+        -:    7:int
+        -:    8:main(int argc, char ** argv)
+        1:    9:{
+        1:   10:  int r;
+        1:   11:  if (argc == 1)
+        1:   12:    r = 1;
+    #####:   13:  else if (argc == 2)
+    #####:   14:    r = 2;
+        -:   15:  else 
+    #####:   16:    r = 0;
+        1:   17:  return r;
+        -:   18:} 
+
+
 * Directory tracking
 
 Directories are matched via `compilation-directory-matcher'.  Files which are
@@ -344,3 +397,30 @@ checking FONTCONFIG_CFLAGS...
 g++ -o foo.o foo.cc
 tool1 -output=foo foo.x
 tool2 --outfile foo foo.y
+
+Compilation started at Wed Jul 20 12:20:10
+Compilation interrupt at Wed Jul 20 12:20:10
+Compilation killed at Wed Jul 20 12:20:10
+Compilation terminated at Wed Jul 20 12:20:10
+Compilation exited abnormally with code 1 at Wed Jul 20 12:21:12
+Compilation finished at Thu Jul 21 15:02:15
+
+\f
+Copyright (C) 2004, 2005, 2006, 2007
+Free Software Foundation, Inc.
+
+COPYING PERMISSIONS:
+
+    This document is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA