From Newsgroup: comp.lang.c++
W dniu 27.04.2026 o-a17:22, Efc|Efc#Jacek Marcin JaworskiEfc|Efc# 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 Efc|Efc#, EU Efc-Efc|;
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-aGAJ "UKRYTEGO D+UUGU"! P+UA-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>
--- Synchronet 3.21f-Linux NewsLink 1.2