Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #123767

Re: g++: What command line option allow me to get the most friendly/responsive compiling error message?

From Michael S <already5chosen@yahoo.com>
Newsgroups comp.lang.c++
Subject Re: g++: What command line option allow me to get the most friendly/responsive compiling error message?
Date 2026-04-27 18:43 +0300
Organization A noiseless patient Spider
Message-ID <20260427184333.00000cae@yahoo.com> (permalink)
References <p-SdnWKejLjAHXL0nZ2dnZfqn_GdnZ2d@giganews.com>

Show all headers | View raw


On Mon, 27 Apr 2026 17:27:44 +0200
🇵🇱Jacek Marcin Jaworski🇵🇱 <jmj@energokod.gda.pl> wrote:

> Hello!
> 
> What g++ command line option allow me to get the most 
> friendly/responsive compiling error message? I use:
> 
> -Wformat=2
> 
> which is not very friendly.
> 

Friendly is in the eye of beholder.

Responsive? That I don't understand at all. What exactly do you mean by
that?

-Wformat=2 influences warnings related to format specifiers in printf
family. It has no effect on the rest of the warnings and certainly has
no effect on error messages.

BTW, docs are here:
https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Warning-Options.html

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

g++: What command line option allow me to get the most friendly/responsive compiling error message? 🇵🇱Jacek Marcin Jaworski🇵🇱 <jmj@energokod.gda.pl> - 2026-04-27 17:27 +0200
  Re: g++: What command line option allow me to get the most friendly/responsive compiling error message? Michael S <already5chosen@yahoo.com> - 2026-04-27 18:43 +0300
  Re: g++: What command line option allow me to get the most friendly/responsive compiling error message? 🇵🇱Jacek Marcin Jaworski🇵🇱 <jmj@energokod.gda.pl> - 2026-04-27 18:20 +0200
    Re: g++: What command line option allow me to get the most friendly/responsive compiling error message? Michael S <already5chosen@yahoo.com> - 2026-04-27 19:29 +0300
    Re: g++: What command line option allow me to get the most friendly/responsive compiling error message? scott@slp53.sl.home (Scott Lurndal) - 2026-04-27 18:53 +0000
  Re: g++: What command line option allow me to get the most friendly/responsive compiling error message? James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-04-27 17:28 -0400

csiph-web