]> code.delx.au - gnu-emacs/blobdiff - etc/compilation.txt
Merge from emacs--rel--22
[gnu-emacs] / etc / compilation.txt
index bae217e832396acd1d2d17b77d7f228833e01ecc..4b8990d5e39d73c9447e4d4a235f185a3f7d7d42 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
@@ -110,15 +113,7 @@ Error 24 at (2:progran.f90) : syntax error
 
 * Fortran checker
 
-symbols: ftnchek-file ftnchek-line-file ftnchek-line
-
-File average.f:
-
-Warning in module COMPAV: Variables may be used before set:
-    SUM used at line 14
-    SUM set at line 14
-
-Warning near line 16 col 20: integer quotient expr I/J  converted to real
+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
@@ -274,8 +269,8 @@ 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, the file name will automatically be reparsed, so that you
-can then go there.
+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
@@ -349,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
@@ -376,3 +397,31 @@ 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
+Compilation segmentation fault at Thu Jul 13 10:55:49
+
+\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