Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Compiler tests Date: Tue, 22 Jan 2019 16:36:14 -0800 Organization: None to speak of Lines: 34 Message-ID: References: <2rI1E.118890$dp2.55232@fx18.am4> <28bf4et4lma5gql12hoecja40gebad83d1@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="935868d9f5f97383d1e7215588419295"; logging-data="12958"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JTEyDr/ACT6opEZGVMjkj" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:kO1XOQLwzXxjldN9jSnYCmhmJ0Q= sha1:I/06N7K2kbTS3j7+NdMy/sXtM6s= Xref: csiph.com comp.lang.c:140102 Robert Wessel writes: > On Tue, 22 Jan 2019 15:45:32 -0800, Keith Thompson > wrote: > >>Bart writes: >>> On 22/01/2019 22:02, David Brown wrote: >>[... >>>> What gcc version?  I had no hints of memory issues with my testing with >>>> gcc 7 and gcc 8.  It just took time. >>> >>> It's 5.1.0. It must have switched from 8.1 at some point (I don't like >>> the way the latter messes with my console colours). >> >>You must be aware that gcc has nothing to do with your console >>colors. You probably installed some IDE that includes gcc as a >>component, and the IDE did something to your console colors (and >>would probably allow you to customize them in any way you like). > > Doesn't gcc put ANSI color control sequences in error messages if > -fdiagnostics-color is in effect? That may not be the default for all > installations. Since gcc 5, or there abouts, I think. Yes, it does. I knew it did highlighting, but I didn't realize it used colors (since I've disabled colors in my terminal emulator). I don't know whether that's what Bart is referring to. You can turn off the highlighting using the "-fno-diagnostics-color" command-line option or by setting the GCC_COLORS environment variable to the empty string. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */