Mercurial > emacs
annotate etc/compilation.txt @ 105286:378a76e12c8e
Add 2009 to copyright years.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 29 Sep 2009 07:20:03 +0000 |
parents | ec8fb318bade |
children | 1f553b32ab4f |
rev | line source |
---|---|
71189
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
1 * Introduction -*-compilation-*- (Copyright information at end of file) |
54365 | 2 |
3 This shows the different kinds of messages compile recognizes by default and | |
4 how they are rendered. It is intended both to help you decide which matchers | |
5 you need and as a test of the matchers. Move the mouse over a colored part or | |
6 use `compilation-message-face', to see how much text was actually matched. | |
7 | |
71681
7f64dacbf7f1
Add an example "Compilation started ..." line.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
71189
diff
changeset
|
8 Note that the following example line should NOT be highlighted: |
7f64dacbf7f1
Add an example "Compilation started ..." line.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
71189
diff
changeset
|
9 Compilation started at Sat Jul 8 15:19:25 |
7f64dacbf7f1
Add an example "Compilation started ..." line.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
71189
diff
changeset
|
10 |
54365 | 11 The important part is the symbol(s) line at the beginning of each entry. |
12 These are the symbols you can customize `compilation-error-regexp-alist' for, | |
13 to match the messages shown in that entry. A few complex cases have more than | |
14 one symbol, which should be selected together. | |
15 | |
16 | |
17 * Absoft FORTRAN 77 Compiler 3.1.3 | |
18 | |
19 symbol: absoft | |
20 | |
21 Error on line 3 of t.f: Execution error unclassifiable statement | |
22 Line 45 of "foo.c": bloofle undefined | |
23 error on line 19 of fplot.f: spelling error? | |
24 warning on line 17 of fplot.f: data type is undefined for variable d | |
25 | |
26 | |
27 * Ada & Mpatrol (memory leak debugger) | |
28 | |
29 symbol: ada | |
30 | |
31 This matches only the end of line, the beginning is covered by GNU style. | |
32 | |
33 foo.adb:61:11: [...] in call to size declared at foo.ads:11 | |
34 0x8008621 main+16 at error.c:17 | |
35 | |
36 | |
37 * IBM AIX PS/2 C version 1.1 | |
38 | |
39 symbol: aix | |
40 | |
41 ****** Error number 140 in line 8 of file errors.c ****** | |
42 | |
43 | |
44 * Ant Java: works at least for jikes and javac | |
45 | |
46 symbol: ant | |
47 | |
48 The regexps found on http://ant.apache.org/faq.html, and since integrated in | |
49 both Emacsen, were hairy. Why so many numbers for jikes -- is one a column | |
50 number? | |
51 | |
52 [javac] /src/DataBaseTestCase.java:27: unreported exception ... | |
53 [javac] /src/DataBaseTestCase.java:49: warning: finally clause cannot complete normally | |
54 [jikes] foo.java:3:5:7:9: blah blah | |
55 | |
56 | |
57 * Bash v2 | |
58 | |
59 symbol: bash | |
60 | |
61 a.sh: line 1: ls-l: command not found | |
62 | |
63 | |
64 * Borland C++, C++Builder | |
65 | |
66 symbol: borland | |
67 | |
68 Error ping.c 15: Unable to open include file 'sys/types.h' | |
69 Warning ping.c 68: Call to function 'func' with no prototype | |
70 Error E2010 ping.c 15: Unable to open include file 'sys/types.h' | |
71 Warning W1022 ping.c 68: Call to function 'func' with no prototype | |
72 | |
73 | |
74 * Caml & Python | |
75 | |
76 symbol: caml | |
77 | |
78 File "foobar.ml", lines 5-8, characters 20-155: blah blah | |
79 File "F:\ocaml\sorting.ml", line 65, characters 2-145: | |
80 Warning: this expression should have type unit. | |
81 File "/usr/share/gdesklets/display/TargetGauge.py", line 41, in add_children | |
54744
a88e6b97afe3
Fix caml (Python) & irix (Info)
Daniel Pfeiffer <occitan@esperanto.org>
parents:
54365
diff
changeset
|
82 File \lib\python\Products\PythonScripts\PythonScript.py, line 302, in _exec |
a88e6b97afe3
Fix caml (Python) & irix (Info)
Daniel Pfeiffer <occitan@esperanto.org>
parents:
54365
diff
changeset
|
83 File "/tmp/foo.py", line 10 |
54365 | 84 |
85 | |
86 * Apollo cc, 4.3BSD fc & IBM RS6000/AIX xlc compiler & Microtec mcc68k & GNAT (July 94) | |
87 | |
88 symbol: comma | |
89 | |
90 "foo.f", line 3: Error: syntax error near end of statement | |
91 "vvouch.c", line 19.5: 1506-046 (S) Syntax error. | |
92 "foo.c", line 32 pos 1; (E) syntax error; unexpected symbol: "lossage" | |
93 "foo.adb", line 2(11): warning: file name does not match ... | |
94 "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment. | |
95 | |
96 | |
55516
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
97 * EDG C/C++ |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
98 |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
99 symbol: edg-1 edg-2 |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
100 |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
101 build/intel/debug/../../../struct.cpp(42): error: identifier "foo" is undefined |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
102 build/intel/debug/../../../struct.cpp(44): warning #1011: missing return statement at end of ... |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
103 build/intel/debug/../../../iptr.h(302): remark #981: operands are evaluated in unspecified order |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
104 detected during ... at line 62 of "build/intel/debug/../../../trace.h" |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
105 |
d43c6081f39c
Add edg examples and remove redundant ultrix examples.
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55133
diff
changeset
|
106 |
54365 | 107 * EPC F90 compiler |
108 | |
109 symbol: epc | |
110 | |
111 Error 24 at (2:progran.f90) : syntax error | |
112 | |
113 | |
57730
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
114 * Fortran checker |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
115 |
58437
f81ffb9e961b
ftnchek only current style messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
57732
diff
changeset
|
116 symbols: ftnchek |
57730
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
117 |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
118 Dummy arg W in module SUBA line 8 file arrayclash.f is array |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
119 L4 used at line 55 file test/assign.f; never set |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
120 Warning near line 10 file arrayclash.f: Module contains no executable |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
121 Nonportable usage near line 31 col 9 file assign.f: mixed default and explicit |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
122 |
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
123 |
54365 | 124 * IAR Systems C Compiler |
125 | |
126 symbol: iar | |
127 | |
128 "foo.c",3 Error[32]: Error message | |
129 "foo.c",3 Warning[32]: Error message | |
130 | |
131 | |
132 * IBM C/C++ Tools 2.01 | |
133 | |
134 symbol: ibm | |
135 | |
136 foo.c(2:0) : informational EDC0804: Function foo is not referenced. | |
137 foo.c(3:8) : warning EDC0833: Implicit return statement encountered. | |
138 foo.c(5:5) : error EDC0350: Syntax error. | |
139 | |
140 | |
57730
c173d0dac457
extend irix for NAG Fortran and add ftnchek-*
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55991
diff
changeset
|
141 * Ultrix MIPS RISC CC, DEC AXP OSF/1 cc, IRIX 5.2 & NAG Fortran |
54365 | 142 |
143 symbol: irix | |
144 | |
145 ccom: Error: foo.c, line 2: syntax error | |
55133
77a1309e787d
added irix/Compaq C severe example
Daniel Pfeiffer <occitan@esperanto.org>
parents:
54744
diff
changeset
|
146 cc: Severe: /src/Python-2.3.3/Modules/_curses_panel.c, line 17: Cannot find file <panel.h> ... |
54744
a88e6b97afe3
Fix caml (Python) & irix (Info)
Daniel Pfeiffer <occitan@esperanto.org>
parents:
54365
diff
changeset
|
147 cc: Info: foo.c, line 27: ... |
54365 | 148 cfe: Warning 712: foo.c, line 2: illegal combination of pointer and ... |
149 cfe: Warning 600: xfe.c: 170: Not in a conditional directive while ... | |
150 /usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah | |
151 /usr/lib/cmplrs/cc/cfe: warning: foo.c: 1: blah blah | |
57732
828726b6503b
*** empty log message ***
Daniel Pfeiffer <occitan@esperanto.org>
parents:
57730
diff
changeset
|
152 foo bar: baz.f, line 27: ... |
54365 | 153 |
154 | |
155 * Java Exception & Valgrind (memory debugger for x86 GNU/Linux) | |
156 | |
157 symbol: java | |
158 | |
159 Register 6 contains wrong type | |
160 at org.foo.ComponentGateway.doGet(ComponentGateway.java:172) | |
161 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) | |
162 ==1332== Invalid write of size 1 | |
163 ==1332== at 0x4040743C: System::getErrorString() (../src/Lib/System.cpp:217) | |
164 ==1332== by 0x8008621: main (vtest.c:180) | |
165 | |
166 | |
167 * IBM jikes | |
168 | |
169 symbols: jikes-file jikes-line | |
170 | |
171 Jikes separates file names from the actual error messages. For visual | |
172 feedback the underline and the word "Error" on the 3rd line is fontified like | |
173 a file name would be. | |
174 | |
175 Found 2 semantic errors compiling "../javax/swing/BorderFactory.java": | |
176 | |
177 150. case '{': | |
178 <-> | |
179 *** Error: The type of this expression, "char", is not ... | |
180 | |
181 312. return new CompoundBorder(outside, inside); | |
182 <---------------------------------> | |
183 *** Error: No match was found for constructor ... | |
184 | |
185 Issued 1 semantic warning compiling "java/awt/Toolkit.java": | |
186 | |
187 504. void imgProduceImage( ImageNativeProducer prod, Ptr imgData); | |
188 <-----------------> | |
189 *** Warning: The type "ImageNativeProducer" is defined ... | |
190 | |
191 | |
192 * GCC include message | |
193 | |
194 symbol: gcc-include | |
195 | |
196 The last file, i.e. the one you are compiling, is the interesting one. | |
197 | |
198 In file included from /usr/include/c++/3.3/backward/warn.h:4, | |
199 from /usr/include/c++/3.3/backward/iostream.h:31, | |
200 from test_clt.cc:1: | |
201 | |
202 | |
203 * GNU style | |
204 | |
205 symbol: gnu | |
206 | |
207 foo.c:8: message | |
208 ../foo.c:8: W: message | |
209 /tmp/foo.c:8:warning message | |
210 foo/bar.py:8: FutureWarning message | |
211 foo.py:8: RuntimeWarning message | |
212 foo.c:8:I: message | |
101800
9a856cb80538
(gnu): Add an example for the "note" format.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
100972
diff
changeset
|
213 foo.c:8.23: note: message |
54365 | 214 foo.c:8.23: info: message |
215 foo.c:8:23:information: message | |
216 foo.c:8.23-45: Informational: message | |
217 foo.c:8-23: message | |
218 foo.c:8-45.3: message | |
219 foo.c:8.23-9.1: message | |
220 jade:dbcommon.dsl:133:17:E: missing argument for function call | |
221 G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found. | |
222 file:G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found. | |
55991
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
223 {standard input}:27041: Warning: end of file not at end of a line; newline inserted |
54365 | 224 |
225 | |
226 * Lucid Compiler, lcc 3.x | |
227 | |
228 symbol: lcc | |
229 | |
230 E, file.cc(35,52) Illegal operation on pointers | |
231 W, file.cc(36,52) blah blah | |
232 | |
233 | |
234 * makepp 1.20 | |
235 | |
236 symbol: makepp | |
237 | |
238 makepp: Scanning `/foo/bar.c' | |
239 makepp: warning: bla bla `/foo/bar.c' and `/foo/bar.h' | |
240 makepp: bla bla `/foo/Makeppfile:12' bla | |
241 makepp: bla bla `/foo/bar.c' and `/foo/bar.h' | |
242 | |
243 | |
102118 | 244 * maven 2.0.9 |
245 | |
246 symbol: maven | |
247 | |
248 FooBar.java:[111,53] no interface expected here | |
249 | |
250 | |
54365 | 251 * MIPS lint; looks good for SunPro lint also |
252 | |
253 symbols: mips-1 mips-2 | |
254 | |
255 This can match multiple times on a line. | |
256 | |
257 TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomon.c due to truncation | |
258 name defined but never used: LinInt in cmap_calc.c(199) | |
259 | |
260 | |
261 * Microsoft C/C++ | |
262 | |
263 symbol: msft | |
264 | |
265 This used to be less selective and allowed characters other than parens around | |
266 the line number, but that caused confusion for GNU-style error messages. This | |
267 used to reject spaces and dashes in file names, but they are valid now; so I | |
268 made it more strict about the error message that follows. | |
269 | |
270 keyboard handler.c(537) : warning C4005: 'min' : macro redefinition | |
271 d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if' | |
272 | |
273 | |
94634
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
274 * Open Watcom |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
275 |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
276 symbol: watcom |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
277 |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
278 ..\src\ctrl\lister.c(109): Error! E1009: Expecting ';' but found '{' |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
279 ..\src\ctrl\lister.c(120): Warning! W201: Unreachable code |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
280 |
dfff53b237c4
Add regexp for Open Watcom compiler output.
Nick Roberts <nickrob@snap.net.nz>
parents:
92172
diff
changeset
|
281 |
54365 | 282 * Oracle pro*c |
283 | |
284 symbol: oracle | |
285 | |
55991
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
286 This stupid precompiler wraps lines at column 80 in the middle of a file name. |
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
287 There is no obvious way of detecting this or turning it off. But if you |
58437
f81ffb9e961b
ftnchek only current style messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
57732
diff
changeset
|
288 delete the newline (probably needs M-x toggle-read-only), the file name will |
f81ffb9e961b
ftnchek only current style messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
57732
diff
changeset
|
289 automatically be reparsed, so that you can then go there. |
55991
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
290 |
54365 | 291 Semantic error at line 528, column 5, file erosacqdb.pc: |
55991
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
292 Error at line 41, column 10 in file /usr/src/sb/ODBI_BHP.hpp |
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
293 PCC-02150: error at line 49, column 27 in file /usr/src/sb/ODBI_dxfgh.pc |
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
294 PCC-00003: invalid SQL Identifier at column name in line 12 of file /usr/src/sb/ODBI_BHP.hpp |
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
295 PCC-00004: mismatched IF/ELSE/ENDIF block at line 27 in file /usr/src/sb/ODBI_BHP.hpp |
60906ddcbf22
show example of GNU {standard input} (gcc --pipe) and various Oracle messages
Daniel Pfeiffer <occitan@esperanto.org>
parents:
55516
diff
changeset
|
296 PCC-02151: line 21 column 40 file /usr/src/sb/ODBI_BHP.hpp: |
54365 | 297 |
298 | |
299 * Perl | |
300 | |
301 symbol: perl | |
302 | |
104070
ec8fb318bade
Add Perl-Glib sample message.
Chong Yidong <cyd@stupidchicken.com>
parents:
103817
diff
changeset
|
303 The second sample, from the Perl-Glib module, is a Glib message put |
ec8fb318bade
Add Perl-Glib sample message.
Chong Yidong <cyd@stupidchicken.com>
parents:
103817
diff
changeset
|
304 through Perl warn() to get "at FILENAME line N". |
ec8fb318bade
Add Perl-Glib sample message.
Chong Yidong <cyd@stupidchicken.com>
parents:
103817
diff
changeset
|
305 |
54365 | 306 syntax error at automake line 922, near "':'" |
307 Died at test.pl line 27. | |
308 store::odrecall('File_A', 'x2') called at store.pm line 90 | |
79788
7bdf18d42b12
Kevin Ryde <user42 at zip.com.au>:
Glenn Morris <rgm@gnu.org>
parents:
79776
diff
changeset
|
309 (in cleanup) something bad at foo.pl line 3 during global destruction. |
54365 | 310 |
104070
ec8fb318bade
Add Perl-Glib sample message.
Chong Yidong <cyd@stupidchicken.com>
parents:
103817
diff
changeset
|
311 GLib-GObject-WARNING **: /build/buildd/glib2.0-2.14.5/gobject/gsignal.c:1741: instance `0x8206790' has no handler with id `1234' at t-compilation-perl-gtk.pl line 3. |
79789 | 312 |
99461
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
313 * PHP |
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
314 |
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
315 symbol: php |
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
316 |
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
317 Parse error: parse error, unexpected $ in main.php on line 59 |
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
318 Fatal error: Call to undefined function: mysql_pconnect() in db.inc on line 66 |
e3a663b9dab6
Examples for compilation.txt for PHP
Mark A. Hershberger <mah@everybody.org>
parents:
95004
diff
changeset
|
319 |
54365 | 320 * RXP |
321 | |
322 symbol: rxp | |
323 | |
324 GPL XML validator at http://www.cogsci.ed.ac.uk/~richard/rxp.html | |
325 | |
326 Error: Mismatched end tag: expected </geroup>, got </group> | |
327 in unnamed entity at line 71 char 8 of file:///home/reto/test/group.xml | |
328 Warning: Start tag for undeclared element geroup | |
329 in unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml | |
330 | |
331 | |
332 * Sparc Pascal | |
333 | |
334 symbols: sparc-pascal-file sparc-pascal-line sparc-pascal-example | |
335 | |
336 These messages don't contain a file name. Instead the compiler gives a | |
337 message whenever the file being compiled is changed. For visual feedback the | |
338 error code is fontified like a file name would be. | |
339 | |
340 Thu May 14 10:46:12 1992 mom3.p: | |
341 20 linjer : array[1..4] of linje; | |
342 w 18480-----------^--- Inserted ';' | |
343 20 linjer : array[1..4] of linje; | |
344 e 18480-----------^--- Inserted ';' | |
345 w 18520 line 61 - 0 is undefined | |
346 E 18520 line 61 - 0 is undefined | |
347 | |
348 | |
349 * SGI IRIX MipsPro 7.3 & Sun F90 & Cray C | |
350 | |
351 symbol: sun | |
352 | |
353 cc-1020 CC: REMARK File = CUI_App.h, Line = 735 | |
354 cc-1070 cc: WARNING File = linkl.c, Line = 38 | |
355 cf90-113 f90comp: ERROR NSE, File = Hoved.f90, Line = 16, Column = 3 | |
356 | |
357 | |
358 * Sun Ada (VADS, Solaris) | |
359 | |
360 symbol: sun-ada | |
361 | |
362 /home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: "," inserted | |
363 | |
364 | |
365 * 4.3BSD grep, cc, lint | |
366 | |
367 symbol: 4bsd | |
368 | |
369 /usr/src/foo/foo.c(8): warning: w may be used before set | |
370 /usr/src/foo/foo.c(9): error: w is used before set | |
371 strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8) | |
372 bloofle defined( /users/wolfgang/foo.c(4) ), but never used | |
373 | |
374 | |
61425
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
375 * GCOV (test coverage program) |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
376 |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
377 symbol: gcov-file gcov-bb-file gcov-never-called-line gcov-called-line |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
378 |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
379 -: 0:Source:foo.c |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
380 -: 0:Object:foo.bb |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
381 -: 1:/* $ gcc -fprofile-arcs -ftest-coverage foo.c |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
382 -: 2: $ ./a.out |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
383 -: 3: $ gcov foo.c |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
384 -: 4: LANG=C gcov foo.c |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
385 -: 5: 62.50% of 8 lines executed in file foo.c |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
386 -: 6: Creating foo.c.gcov.*/ |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
387 -: 7:int |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
388 -: 8:main(int argc, char ** argv) |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
389 1: 9:{ |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
390 1: 10: int r; |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
391 1: 11: if (argc == 1) |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
392 1: 12: r = 1; |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
393 #####: 13: else if (argc == 2) |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
394 #####: 14: r = 2; |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
395 -: 15: else |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
396 #####: 16: r = 0; |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
397 1: 17: return r; |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
398 -: 18:} |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
399 |
6dfecf2a19ab
* compilation.txt (symbol): Added gcov-file
Masatake YAMATO <jet@gyve.org>
parents:
58437
diff
changeset
|
400 |
86045
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
401 * Podchecker error messages, per Pod::Checker |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
402 |
103817
e81c75893d07
Kevin Ryde <user42 at zip.com.au>
Glenn Morris <rgm@gnu.org>
parents:
102118
diff
changeset
|
403 symbol: perl--Pod::Checker |
86045
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
404 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
405 *** ERROR: Spurious text after =cut at line 193 in file foo.pm |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
406 *** ERROR: =over on line 37 without closing =back at line EOF in file bar.pm |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
407 *** ERROR: =over on line 1 without closing =back (at head1) at line 3 in file x.pod |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
408 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
409 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
410 * Perl Test module error messages |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
411 |
103817
e81c75893d07
Kevin Ryde <user42 at zip.com.au>
Glenn Morris <rgm@gnu.org>
parents:
102118
diff
changeset
|
412 symbol: perl--Test |
86045
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
413 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
414 # Failed test 1 in foo.t at line 6 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
415 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
416 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
417 * Perl Test::Harness output |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
418 |
103817
e81c75893d07
Kevin Ryde <user42 at zip.com.au>
Glenn Morris <rgm@gnu.org>
parents:
102118
diff
changeset
|
419 symbol: perl--Test::Harness |
86045
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
420 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
421 NOK 1# Test 1 got: "1234" (t/foo.t at line 46) |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
422 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
423 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
424 * Perl HTML::Lint::Error::as_string() |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
425 |
103817
e81c75893d07
Kevin Ryde <user42 at zip.com.au>
Glenn Morris <rgm@gnu.org>
parents:
102118
diff
changeset
|
426 symbol: weblint |
86045
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
427 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
428 index.html (13:1) Unknown element <fdjsk> |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
429 |
1fa61031bef4
Add new entries.
Vinicius Jose Latorre <viniciusjl@ig.com.br>
parents:
82140
diff
changeset
|
430 |
54365 | 431 * Directory tracking |
432 | |
433 Directories are matched via `compilation-directory-matcher'. Files which are | |
434 not shown as full paths are searched for relative to the directory where the | |
435 message was issued. | |
436 | |
437 Entering directory `/a/b/c' | |
438 Leaving directory `/a/b/c' | |
439 gmake[2]: Entering directory `/a/b/c' | |
440 makepp: Leaving directory `/a/b/c' | |
441 | |
442 | |
443 * Miscellaneous | |
444 | |
445 These are not messages that can be gone to. They are only highlighted via | |
446 `compilation-mode-font-lock-keywords' to recognize some useful information at | |
447 a glance. | |
448 | |
449 checking dynamic linker characteristics... GNU/Linux ld.so | |
450 checking if libtool supports shared libraries... yes | |
451 checking whether to build shared libraries... yes | |
452 checking whether -lc should be explicitly linked in... (cached) no | |
453 checking For GLIB - version >= 2.0.0... yes (version 2.1.0) | |
454 checking FONTCONFIG_CFLAGS... | |
455 g++ -o foo.o foo.cc | |
456 tool1 -output=foo foo.x | |
457 tool2 --outfile foo foo.y | |
64738
b8929a75abe8
Add examples of finished compilation.
Juri Linkov <juri@jurta.org>
parents:
61425
diff
changeset
|
458 |
64945
7a6aa8277fe1
Add examples of starting and finishing messages.
Juri Linkov <juri@jurta.org>
parents:
64738
diff
changeset
|
459 Compilation started at Wed Jul 20 12:20:10 |
7a6aa8277fe1
Add examples of starting and finishing messages.
Juri Linkov <juri@jurta.org>
parents:
64738
diff
changeset
|
460 Compilation interrupt at Wed Jul 20 12:20:10 |
7a6aa8277fe1
Add examples of starting and finishing messages.
Juri Linkov <juri@jurta.org>
parents:
64738
diff
changeset
|
461 Compilation killed at Wed Jul 20 12:20:10 |
7a6aa8277fe1
Add examples of starting and finishing messages.
Juri Linkov <juri@jurta.org>
parents:
64738
diff
changeset
|
462 Compilation terminated at Wed Jul 20 12:20:10 |
64738
b8929a75abe8
Add examples of finished compilation.
Juri Linkov <juri@jurta.org>
parents:
61425
diff
changeset
|
463 Compilation exited abnormally with code 1 at Wed Jul 20 12:21:12 |
92172
16e08abf25d2
Move successful message "Compilation finished" to the end.
Juri Linkov <juri@jurta.org>
parents:
87649
diff
changeset
|
464 Compilation segmentation fault at Thu Jul 13 10:55:49 |
64738
b8929a75abe8
Add examples of finished compilation.
Juri Linkov <juri@jurta.org>
parents:
61425
diff
changeset
|
465 Compilation finished at Thu Jul 21 15:02:15 |
71189
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
466 |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
467 |
100972 | 468 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 |
75343
0259a1711394
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
71681
diff
changeset
|
469 Free Software Foundation, Inc. |
71189
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
470 |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
471 COPYING PERMISSIONS: |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
472 |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94634
diff
changeset
|
473 This document is free software: you can redistribute it and/or modify |
71189
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
474 it under the terms of the GNU General Public License as published by |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94634
diff
changeset
|
475 the Free Software Foundation, either version 3 of the License, or |
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94634
diff
changeset
|
476 (at your option) any later version. |
71189
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
477 |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
478 This program is distributed in the hope that it will be useful, |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
479 but WITHOUT ANY WARRANTY; without even the implied warranty of |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
480 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
481 GNU General Public License for more details. |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
482 |
3681678d3d86
Add copyright notice and copying permissions.
Eli Zaretskii <eliz@gnu.org>
parents:
64945
diff
changeset
|
483 You should have received a copy of the GNU General Public License |
95004
cbf5528cf447
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94634
diff
changeset
|
484 along with this program. If not, see <http://www.gnu.org/licenses/>. |