54365
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
1 * Introduction -*-compilation-*-
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
3 This shows the different kinds of messages compile recognizes by default and
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
4 how they are rendered. It is intended both to help you decide which matchers
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
5 you need and as a test of the matchers. Move the mouse over a colored part or
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
6 use `compilation-message-face', to see how much text was actually matched.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
7
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
8 The important part is the symbol(s) line at the beginning of each entry.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
9 These are the symbols you can customize `compilation-error-regexp-alist' for,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
10 to match the messages shown in that entry. A few complex cases have more than
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
11 one symbol, which should be selected together.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
12
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
13
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
14 * Absoft FORTRAN 77 Compiler 3.1.3
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
15
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
16 symbol: absoft
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
17
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
18 Error on line 3 of t.f: Execution error unclassifiable statement
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
19 Line 45 of "foo.c": bloofle undefined
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
20 error on line 19 of fplot.f: spelling error?
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
21 warning on line 17 of fplot.f: data type is undefined for variable d
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
22
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
23
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
24 * Ada & Mpatrol (memory leak debugger)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
25
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
26 symbol: ada
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
27
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
28 This matches only the end of line, the beginning is covered by GNU style.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
29
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
30 foo.adb:61:11: [...] in call to size declared at foo.ads:11
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
31 0x8008621 main+16 at error.c:17
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
32
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
33
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
34 * IBM AIX PS/2 C version 1.1
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
35
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
36 symbol: aix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
37
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
38 ****** Error number 140 in line 8 of file errors.c ******
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
39
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
40
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
41 * Ant Java: works at least for jikes and javac
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
42
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
43 symbol: ant
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
44
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
45 The regexps found on http://ant.apache.org/faq.html, and since integrated in
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
46 both Emacsen, were hairy. Why so many numbers for jikes -- is one a column
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
47 number?
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
48
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
49 [javac] /src/DataBaseTestCase.java:27: unreported exception ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
50 [javac] /src/DataBaseTestCase.java:49: warning: finally clause cannot complete normally
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
51 [jikes] foo.java:3:5:7:9: blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
52
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
53
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
54 * Bash v2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
55
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
56 symbol: bash
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
57
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
58 a.sh: line 1: ls-l: command not found
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
59
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
60
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
61 * Borland C++, C++Builder
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
62
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
63 symbol: borland
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
64
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
65 Error ping.c 15: Unable to open include file 'sys/types.h'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
66 Warning ping.c 68: Call to function 'func' with no prototype
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
67 Error E2010 ping.c 15: Unable to open include file 'sys/types.h'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
68 Warning W1022 ping.c 68: Call to function 'func' with no prototype
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
69
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
70
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
71 * Caml & Python
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
72
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
73 symbol: caml
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
74
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
75 File "foobar.ml", lines 5-8, characters 20-155: blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
76 File "F:\ocaml\sorting.ml", line 65, characters 2-145:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
77 Warning: this expression should have type unit.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
78 File "/usr/share/gdesklets/display/TargetGauge.py", line 41, in add_children
|
54744
|
79 File \lib\python\Products\PythonScripts\PythonScript.py, line 302, in _exec
|
|
80 File "/tmp/foo.py", line 10
|
54365
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
81
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
82
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
83 * Apollo cc, 4.3BSD fc & IBM RS6000/AIX xlc compiler & Microtec mcc68k & GNAT (July 94)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
84
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
85 symbol: comma
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
86
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
87 "foo.f", line 3: Error: syntax error near end of statement
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
88 "vvouch.c", line 19.5: 1506-046 (S) Syntax error.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
89 "foo.c", line 32 pos 1; (E) syntax error; unexpected symbol: "lossage"
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
90 "foo.adb", line 2(11): warning: file name does not match ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
91 "src/swapping.c", line 30.34: 1506-342 (W) "/*" detected in comment.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
92
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
93
|
55516
|
94 * EDG C/C++
|
|
95
|
|
96 symbol: edg-1 edg-2
|
|
97
|
|
98 build/intel/debug/../../../struct.cpp(42): error: identifier "foo" is undefined
|
|
99 build/intel/debug/../../../struct.cpp(44): warning #1011: missing return statement at end of ...
|
|
100 build/intel/debug/../../../iptr.h(302): remark #981: operands are evaluated in unspecified order
|
|
101 detected during ... at line 62 of "build/intel/debug/../../../trace.h"
|
|
102
|
|
103
|
54365
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
104 * EPC F90 compiler
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
105
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
106 symbol: epc
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
107
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
108 Error 24 at (2:progran.f90) : syntax error
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
109
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
110
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
111 * IAR Systems C Compiler
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
112
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
113 symbol: iar
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
114
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
115 "foo.c",3 Error[32]: Error message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
116 "foo.c",3 Warning[32]: Error message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
117
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
118
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
119 * IBM C/C++ Tools 2.01
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
120
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
121 symbol: ibm
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
122
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
123 foo.c(2:0) : informational EDC0804: Function foo is not referenced.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
124 foo.c(3:8) : warning EDC0833: Implicit return statement encountered.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
125 foo.c(5:5) : error EDC0350: Syntax error.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
126
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
127
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
128 * Ultrix MIPS RISC CC & DEC AXP OSF/1 cc & IRIX 5.2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
129
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
130 symbol: irix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
131
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
132 ccom: Error: foo.c, line 2: syntax error
|
55133
|
133 cc: Severe: /src/Python-2.3.3/Modules/_curses_panel.c, line 17: Cannot find file <panel.h> ...
|
54744
|
134 cc: Info: foo.c, line 27: ...
|
54365
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
135 cfe: Warning 712: foo.c, line 2: illegal combination of pointer and ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
136 cfe: Warning 600: xfe.c: 170: Not in a conditional directive while ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
137 /usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
138 /usr/lib/cmplrs/cc/cfe: warning: foo.c: 1: blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
139
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
140
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
141 * Java Exception & Valgrind (memory debugger for x86 GNU/Linux)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
142
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
143 symbol: java
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
144
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
145 Register 6 contains wrong type
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
146 at org.foo.ComponentGateway.doGet(ComponentGateway.java:172)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
147 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
148 ==1332== Invalid write of size 1
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
149 ==1332== at 0x4040743C: System::getErrorString() (../src/Lib/System.cpp:217)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
150 ==1332== by 0x8008621: main (vtest.c:180)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
151
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
152
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
153 * IBM jikes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
154
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
155 symbols: jikes-file jikes-line
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
156
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
157 Jikes separates file names from the actual error messages. For visual
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
158 feedback the underline and the word "Error" on the 3rd line is fontified like
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
159 a file name would be.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
160
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
161 Found 2 semantic errors compiling "../javax/swing/BorderFactory.java":
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
162
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
163 150. case '{':
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
164 <->
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
165 *** Error: The type of this expression, "char", is not ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
166
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
167 312. return new CompoundBorder(outside, inside);
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
168 <--------------------------------->
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
169 *** Error: No match was found for constructor ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
170
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
171 Issued 1 semantic warning compiling "java/awt/Toolkit.java":
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
172
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
173 504. void imgProduceImage( ImageNativeProducer prod, Ptr imgData);
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
174 <----------------->
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
175 *** Warning: The type "ImageNativeProducer" is defined ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
176
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
177
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
178 * GCC include message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
179
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
180 symbol: gcc-include
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
181
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
182 The last file, i.e. the one you are compiling, is the interesting one.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
183
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
184 In file included from /usr/include/c++/3.3/backward/warn.h:4,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
185 from /usr/include/c++/3.3/backward/iostream.h:31,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
186 from test_clt.cc:1:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
187
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
188
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
189 * GNU style
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
190
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
191 symbol: gnu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
192
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
193 foo.c:8: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
194 ../foo.c:8: W: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
195 /tmp/foo.c:8:warning message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
196 foo/bar.py:8: FutureWarning message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
197 foo.py:8: RuntimeWarning message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
198 foo.c:8:I: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
199 foo.c:8.23: info: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
200 foo.c:8:23:information: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
201 foo.c:8.23-45: Informational: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
202 foo.c:8-23: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
203 foo.c:8-45.3: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
204 foo.c:8.23-9.1: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
205 jade:dbcommon.dsl:133:17:E: missing argument for function call
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
206 G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
207 file:G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
208
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
209
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
210 * Lucid Compiler, lcc 3.x
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
211
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
212 symbol: lcc
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
213
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
214 E, file.cc(35,52) Illegal operation on pointers
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
215 W, file.cc(36,52) blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
216
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
217
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
218 * makepp 1.20
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
219
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
220 symbol: makepp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
221
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
222 makepp: Scanning `/foo/bar.c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
223 makepp: warning: bla bla `/foo/bar.c' and `/foo/bar.h'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
224 makepp: bla bla `/foo/Makeppfile:12' bla
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
225 makepp: bla bla `/foo/bar.c' and `/foo/bar.h'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
226
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
227
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
228 * MIPS lint; looks good for SunPro lint also
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
229
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
230 symbols: mips-1 mips-2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
231
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
232 This can match multiple times on a line.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
233
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
234 TrimMask (255) in solomon.c may be indistinguishable from TrimMasks (93) in solomon.c due to truncation
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
235 name defined but never used: LinInt in cmap_calc.c(199)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
236
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
237
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
238 * Microsoft C/C++
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
239
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
240 symbol: msft
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
241
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
242 This used to be less selective and allowed characters other than parens around
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
243 the line number, but that caused confusion for GNU-style error messages. This
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
244 used to reject spaces and dashes in file names, but they are valid now; so I
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
245 made it more strict about the error message that follows.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
246
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
247 keyboard handler.c(537) : warning C4005: 'min' : macro redefinition
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
248 d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
249
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
250
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
251 * Oracle pro*c
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
252
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
253 symbol: oracle
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
254
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
255 Semantic error at line 528, column 5, file erosacqdb.pc:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
256
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
257
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
258 * Perl
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
259
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
260 symbol: perl
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
261
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
262 syntax error at automake line 922, near "':'"
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
263 Died at test.pl line 27.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
264 store::odrecall('File_A', 'x2') called at store.pm line 90
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
265
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
266
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
267 * RXP
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
268
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
269 symbol: rxp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
270
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
271 GPL XML validator at http://www.cogsci.ed.ac.uk/~richard/rxp.html
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
272
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
273 Error: Mismatched end tag: expected </geroup>, got </group>
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
274 in unnamed entity at line 71 char 8 of file:///home/reto/test/group.xml
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
275 Warning: Start tag for undeclared element geroup
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
276 in unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
277
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
278
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
279 * Sparc Pascal
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
280
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
281 symbols: sparc-pascal-file sparc-pascal-line sparc-pascal-example
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
282
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
283 These messages don't contain a file name. Instead the compiler gives a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
284 message whenever the file being compiled is changed. For visual feedback the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
285 error code is fontified like a file name would be.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
286
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
287 Thu May 14 10:46:12 1992 mom3.p:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
288 20 linjer : array[1..4] of linje;
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
289 w 18480-----------^--- Inserted ';'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
290 20 linjer : array[1..4] of linje;
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
291 e 18480-----------^--- Inserted ';'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
292 w 18520 line 61 - 0 is undefined
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
293 E 18520 line 61 - 0 is undefined
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
294
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
295
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
296 * SGI IRIX MipsPro 7.3 & Sun F90 & Cray C
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
297
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
298 symbol: sun
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
299
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
300 cc-1020 CC: REMARK File = CUI_App.h, Line = 735
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
301 cc-1070 cc: WARNING File = linkl.c, Line = 38
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
302 cf90-113 f90comp: ERROR NSE, File = Hoved.f90, Line = 16, Column = 3
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
303
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
304
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
305 * Sun Ada (VADS, Solaris)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
306
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
307 symbol: sun-ada
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
308
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
309 /home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: "," inserted
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
310
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
311
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
312 * 4.3BSD grep, cc, lint
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
313
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
314 symbol: 4bsd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
315
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
316 /usr/src/foo/foo.c(8): warning: w may be used before set
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
317 /usr/src/foo/foo.c(9): error: w is used before set
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
318 strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
319 bloofle defined( /users/wolfgang/foo.c(4) ), but never used
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
320
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
321
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
322 * Directory tracking
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
323
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
324 Directories are matched via `compilation-directory-matcher'. Files which are
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
325 not shown as full paths are searched for relative to the directory where the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
326 message was issued.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
327
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
328 Entering directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
329 Leaving directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
330 gmake[2]: Entering directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
331 makepp: Leaving directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
332
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
333
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
334 * Miscellaneous
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
335
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
336 These are not messages that can be gone to. They are only highlighted via
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
337 `compilation-mode-font-lock-keywords' to recognize some useful information at
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
338 a glance.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
339
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
340 checking dynamic linker characteristics... GNU/Linux ld.so
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
341 checking if libtool supports shared libraries... yes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
342 checking whether to build shared libraries... yes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
343 checking whether -lc should be explicitly linked in... (cached) no
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
344 checking For GLIB - version >= 2.0.0... yes (version 2.1.0)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
345 checking FONTCONFIG_CFLAGS...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
346 g++ -o foo.o foo.cc
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
347 tool1 -output=foo foo.x
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
348 tool2 --outfile foo foo.y
|