Ticket #48382

Meson: Drop global Werror from debug builds

Eröffnet am: 2023-07-10 23:15 Letztes Update: 2023-07-16 01:35

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

To match the fact that autotools debug builds enable -Werror by default, we've had -Ddebug=true meson builds enabling -Werror.

The problems with this are:
- There's no good way to override that default. If there's a warning, one can't make debug build
- Meson warns about this, and recommends using -Dwerror=true option instead

Let's do it like meson suggests - drop setting "-Werror" in meson.build, and rely on users to set -Dwerror=true instead, when necessary,

Ticket-Verlauf (3/6 Historien)

2023-07-10 23:15 Aktualisiert von: cazfi
  • New Ticket "Meson: Drop global Werror from debug builds" created
2023-07-11 04:58 Aktualisiert von: cazfi
  • File 0024-Meson-Drop-global-Werror-from-debug-builds.patch (File ID: 12862) is attached
2023-07-11 05:11 Aktualisiert von: cazfi
  • File 0024-Meson-Drop-global-Werror-from-debug-builds.patch (File ID: 12862) is deleted
2023-07-11 05:11 Aktualisiert von: cazfi
  • Verantwortlicher Update from (Keine) to cazfi
  • Lösung Update from Keine to Accepted
2023-07-16 01:35 Aktualisiert von: cazfi
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden