[Freeciv-tickets] [freeciv] #48382: Meson: Drop global Werror from debug builds

Back to archive index
OSDN Ticket System norep****@osdn*****
Sun Jul 16 01:35:43 JST 2023


#48382: Meson: Drop global Werror from debug builds

  Open Date: 2023-07-10 17:15
Last Update: 2023-07-15 19:35

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48382
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48382

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-07-15 19:35 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.1.0-beta3
     Component: Bootstrap
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket 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 information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48382
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48382



More information about the Freeciv-tickets mailing list
Back to archive index