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?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
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 Mon, 27 Apr 2026 18:43:33 +0300
Organization A noiseless patient Spider
Lines 26
Message-ID <20260427184333.00000cae@yahoo.com> (permalink)
References <p-SdnWKejLjAHXL0nZ2dnZfqn_GdnZ2d@giganews.com>
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Injection-Date Mon, 27 Apr 2026 15:43:35 +0000 (UTC)
Injection-Info dont-email.me; posting-host="9b8fdfe7933c619a4eca3edf35e69d45"; logging-data="2608579"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2HJPibNowla1yQoq2kv61GXOrfbTh51g="
Cancel-Lock sha1:G6cpgeLQ/lUobFldcbUPJJq2v9U=
X-Newsreader Claws Mail 4.3.1 (GTK 3.24.49; x86_64-w64-mingw32)
Xref csiph.com comp.lang.c++:123767

Show key headers only | 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