all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* gcc errors in compiler output
@ 2009-12-27  0:05 Julianne
  2009-12-27  1:01 ` Pascal J. Bourguignon
  2009-12-27 22:21 ` Vagn Johansen
  0 siblings, 2 replies; 4+ messages in thread
From: Julianne @ 2009-12-27  0:05 UTC (permalink / raw)
  To: help-gnu-emacs

When using emacs 23.1 on Fedora 12, compiling a simple c file with an 
error yields the following output:


gcc -o my_test my_test.c
my_test.c: In function ‘main’:
my_test.c:58: error: expected ‘;’ before ‘x’

If I run the compiler in an ordinary xterm (or Konsole), the output 
appears to be some colorization of the identifiers in the context of the 
error.

The hex dump shows the missing charaters:

6d 79 5f 74 65 73 74 2e  63 3a 20 49 6e 20 66 75  |my_test.c: In fu|
6e 63 74 69 6f 6e 20 e2  80 98 6d 61 69 6e e2 80  |nction ...main..|
99 3a 0a 6d 79 5f 74 65  73 74 2e 63 3a 35 38 3a  |.:.my_test.c:58:|
20 65 72 72 6f 72 3a 20  65 78 70 65 63 74 65 64  | error: expected|
20 e2 80 98 3b e2 80 99  20 62 65 66 6f 72 65 20  | ...;... before |
e2 80 98 78 e2 80 99 0a                           |...x....|

What is the solution to either a) get gcc to not output terminal color 
settings around identifiers or b) make emacs ignore the extraneous stuff 
around the identifiers?

Julianne


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-27 22:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-27  0:05 gcc errors in compiler output Julianne
2009-12-27  1:01 ` Pascal J. Bourguignon
2009-12-27  6:36   ` tomas
2009-12-27 22:21 ` Vagn Johansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.