Subject: Re: g++: What is complete set of options exactly refuse compiling when any warning appear?
W dniu 27.04.2026 oÿ17:22, ??Jacek Marcin Jaworski?? pisze:
Hello!
I use that g++ options:
-Wall -Werror -Wformat=2 -Wfatal-errors
, but KDE seems to catch have many more warnings and refuse to compile
them.
What g++ options should I type in order to refuse compiling any warnings?
In the middle time I ask ChatGPT, and it give me some advises:
-Wall -Wextra -Wpedantic -Werror -Wformat=2
, but is this right?
--
Jacek Marcin Jaworski, Pruszcz Gd., woj. Pomorskie, Polska ??, EU ??;
tel.: +48-609-170-742, najlepiej w godz.: 5:00-5:55 lub 16:00-17:25; <
jmj@energokod.gda.pl>, gpg: 4A541AA7A6E872318B85D7F6A651CC39244B0BFA;
Domowa s. WWW: <
https://energokod.gda.pl>;
Mini Netykieta: <
https://energokod.gda.pl/MiniNetykieta.html>;
Mailowa Samoobrona: <
https://emailselfdefense.fsf.org/pl>.
UWAGA:
NIE ZACI?GAJ "UKRYTEGO D?UGU"! P?A? ZA PROG. FOSS I INFO. INTERNETOWE!
CZYTAJ DARMOWY: "17. Raport Totaliztyczny - Patroni Kontra Bankierzy": <
https://energokod.gda.pl/raporty-totaliztyczne/17.%20Patroni%20Kontra%20Bankierzy.pdf>
--- PyGate Linux v1.5.14
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)