Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-43
[bpt/emacs.git] / etc / compilation.txt
index 53529cb..72ff5ac 100644 (file)
@@ -110,15 +110,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
@@ -154,6 +146,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)
@@ -273,8 +266,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
@@ -348,6 +341,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
@@ -375,3 +394,10 @@ 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