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
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
94 * EPC F90 compiler
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
95
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
96 symbol: epc
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
97
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
98 Error 24 at (2:progran.f90) : syntax error
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
99
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
100
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
101 * IAR Systems C Compiler
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
102
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
103 symbol: iar
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
104
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
105 "foo.c",3 Error[32]: Error message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
106 "foo.c",3 Warning[32]: Error message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
107
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
108
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
109 * IBM C/C++ Tools 2.01
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
110
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
111 symbol: ibm
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
112
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
113 foo.c(2:0) : informational EDC0804: Function foo is not referenced.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
114 foo.c(3:8) : warning EDC0833: Implicit return statement encountered.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
115 foo.c(5:5) : error EDC0350: Syntax error.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
116
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
117
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
118 * Ultrix MIPS RISC CC & DEC AXP OSF/1 cc & IRIX 5.2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
119
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
120 symbol: irix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
121
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
122 ccom: Error: foo.c, line 2: syntax error
|
54744
|
123 cc: Info: foo.c, line 27: ...
|
54365
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
124 cfe: Warning 712: foo.c, line 2: illegal combination of pointer and ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
125 cfe: Warning 600: xfe.c: 170: Not in a conditional directive while ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
126 /usr/lib/cmplrs/cc/cfe: Error: foo.c: 1: blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
127 /usr/lib/cmplrs/cc/cfe: warning: foo.c: 1: blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
128
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
129
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
130 * Java Exception & Valgrind (memory debugger for x86 GNU/Linux)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
131
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
132 symbol: java
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
133
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
134 Register 6 contains wrong type
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
135 at org.foo.ComponentGateway.doGet(ComponentGateway.java:172)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
136 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
137 ==1332== Invalid write of size 1
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
138 ==1332== at 0x4040743C: System::getErrorString() (../src/Lib/System.cpp:217)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
139 ==1332== by 0x8008621: main (vtest.c:180)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
140
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
141
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
142 * IBM jikes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
143
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
144 symbols: jikes-file jikes-line
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
145
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
146 Jikes separates file names from the actual error messages. For visual
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
147 feedback the underline and the word "Error" on the 3rd line is fontified like
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
148 a file name would be.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
149
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
150 Found 2 semantic errors compiling "../javax/swing/BorderFactory.java":
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
151
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
152 150. case '{':
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
153 <->
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
154 *** Error: The type of this expression, "char", is not ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
155
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
156 312. return new CompoundBorder(outside, inside);
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
157 <--------------------------------->
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
158 *** Error: No match was found for constructor ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
159
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
160 Issued 1 semantic warning compiling "java/awt/Toolkit.java":
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
161
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
162 504. void imgProduceImage( ImageNativeProducer prod, Ptr imgData);
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
163 <----------------->
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
164 *** Warning: The type "ImageNativeProducer" is defined ...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
165
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
166
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
167 * GCC include message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
168
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
169 symbol: gcc-include
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
170
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
171 The last file, i.e. the one you are compiling, is the interesting one.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
172
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
173 In file included from /usr/include/c++/3.3/backward/warn.h:4,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
174 from /usr/include/c++/3.3/backward/iostream.h:31,
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
175 from test_clt.cc:1:
|
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 * GNU style
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
179
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
180 symbol: gnu
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
181
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
182 foo.c:8: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
183 ../foo.c:8: W: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
184 /tmp/foo.c:8:warning message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
185 foo/bar.py:8: FutureWarning message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
186 foo.py:8: RuntimeWarning message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
187 foo.c:8:I: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
188 foo.c:8.23: info: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
189 foo.c:8:23:information: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
190 foo.c:8.23-45: Informational: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
191 foo.c:8-23: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
192 foo.c:8-45.3: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
193 foo.c:8.23-9.1: message
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
194 jade:dbcommon.dsl:133:17:E: missing argument for function call
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
195 G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
196 file:G:/cygwin/dev/build-myproj.xml:54: Compiler Adapter 'javac' can't be found.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
197
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
198
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
199 * Lucid Compiler, lcc 3.x
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
200
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
201 symbol: lcc
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
202
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
203 E, file.cc(35,52) Illegal operation on pointers
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
204 W, file.cc(36,52) blah blah
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
205
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
206
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
207 * makepp 1.20
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
208
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
209 symbol: makepp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
210
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
211 makepp: Scanning `/foo/bar.c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
212 makepp: warning: bla bla `/foo/bar.c' and `/foo/bar.h'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
213 makepp: bla bla `/foo/Makeppfile:12' bla
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
214 makepp: bla bla `/foo/bar.c' and `/foo/bar.h'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
215
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
216
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
217 * MIPS lint; looks good for SunPro lint also
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
218
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
219 symbols: mips-1 mips-2
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
220
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
221 This can match multiple times on a line.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
222
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
223 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
|
224 name defined but never used: LinInt in cmap_calc.c(199)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
225
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
226
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
227 * Microsoft C/C++
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
228
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
229 symbol: msft
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
230
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
231 This used to be less selective and allowed characters other than parens around
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
232 the line number, but that caused confusion for GNU-style error messages. This
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
233 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
|
234 made it more strict about the error message that follows.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
235
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
236 keyboard handler.c(537) : warning C4005: 'min' : macro redefinition
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
237 d:\tmp\test.c(23) : error C2143: syntax error : missing ';' before 'if'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
238
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
239
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
240 * Oracle pro*c
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
241
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
242 symbol: oracle
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
243
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
244 Semantic error at line 528, column 5, file erosacqdb.pc:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
245
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
246
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
247 * Perl
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
248
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
249 symbol: perl
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
250
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
251 syntax error at automake line 922, near "':'"
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
252 Died at test.pl line 27.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
253 store::odrecall('File_A', 'x2') called at store.pm line 90
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
254
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
255
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
256 * RXP
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
257
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
258 symbol: rxp
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
259
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
260 GPL XML validator at http://www.cogsci.ed.ac.uk/~richard/rxp.html
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
261
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
262 Error: Mismatched end tag: expected </geroup>, got </group>
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
263 in unnamed entity at line 71 char 8 of file:///home/reto/test/group.xml
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
264 Warning: Start tag for undeclared element geroup
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
265 in unnamed entity at line 4 char 8 of file:///home/reto/test/group.xml
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
266
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
267
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
268 * Sparc Pascal
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
269
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
270 symbols: sparc-pascal-file sparc-pascal-line sparc-pascal-example
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
271
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
272 These messages don't contain a file name. Instead the compiler gives a
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
273 message whenever the file being compiled is changed. For visual feedback the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
274 error code is fontified like a file name would be.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
275
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
276 Thu May 14 10:46:12 1992 mom3.p:
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
277 20 linjer : array[1..4] of linje;
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
278 w 18480-----------^--- Inserted ';'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
279 20 linjer : array[1..4] of linje;
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
280 e 18480-----------^--- Inserted ';'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
281 w 18520 line 61 - 0 is undefined
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
282 E 18520 line 61 - 0 is undefined
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
283
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
284
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
285 * SGI IRIX MipsPro 7.3 & Sun F90 & Cray C
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
286
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
287 symbol: sun
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
288
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
289 cc-1020 CC: REMARK File = CUI_App.h, Line = 735
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
290 cc-1070 cc: WARNING File = linkl.c, Line = 38
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
291 cf90-113 f90comp: ERROR NSE, File = Hoved.f90, Line = 16, Column = 3
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
292
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
293
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
294 * Sun Ada (VADS, Solaris)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
295
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
296 symbol: sun-ada
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
297
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
298 /home3/xdhar/rcds_rc/main.a, line 361, char 6:syntax error: "," inserted
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
299
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
300
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
301 * Ultrix 3.0 f77 & Some SGI cc version
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
302
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
303 symbol: ultrix
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
304
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
305 fort: Severe: addstf.f, line 82: Missing operator or delimiter symbol
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
306 cfe: Warning 835: foo.c, line 2: something
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
307
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
308
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
309 * 4.3BSD grep, cc, lint
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
310
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
311 symbol: 4bsd
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
312
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
313 /usr/src/foo/foo.c(8): warning: w may be used before set
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
314 /usr/src/foo/foo.c(9): error: w is used before set
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
315 strcmp: variable # of args. llib-lc(359) :: /usr/src/foo/foo.c(8)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
316 bloofle defined( /users/wolfgang/foo.c(4) ), but never used
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
317
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
318
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
319 * Directory tracking
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
320
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
321 Directories are matched via `compilation-directory-matcher'. Files which are
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
322 not shown as full paths are searched for relative to the directory where the
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
323 message was issued.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
324
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
325 Entering directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
326 Leaving directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
327 gmake[2]: Entering directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
328 makepp: Leaving directory `/a/b/c'
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
329
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
330
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
331 * Miscellaneous
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
332
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
333 These are not messages that can be gone to. They are only highlighted via
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
334 `compilation-mode-font-lock-keywords' to recognize some useful information at
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
335 a glance.
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
336
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
337 checking dynamic linker characteristics... GNU/Linux ld.so
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
338 checking if libtool supports shared libraries... yes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
339 checking whether to build shared libraries... yes
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
340 checking whether -lc should be explicitly linked in... (cached) no
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
341 checking For GLIB - version >= 2.0.0... yes (version 2.1.0)
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
342 checking FONTCONFIG_CFLAGS...
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
343 g++ -o foo.o foo.cc
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
344 tool1 -output=foo foo.x
|
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
diff
changeset
|
345 tool2 --outfile foo foo.y
|