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

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Jul 10 23:15:10 JST 2023


#48382: Meson: Drop global Werror from debug builds

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

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-10 17:15 Updated by: cazfi
 * New Ticket "Meson: Drop global Werror from debug builds" created


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

      Reporter: cazfi
         Owner: (None)
          Type: Patches
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.1.0-beta3
     Component: Bootstrap
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

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