[Freeciv-tickets] [freeciv] #45860: installer_cross / Meson: Qt6-client build "error: '_WIN32_WINNT" redefined'

Back to archive index
OSDN Ticket System norep****@osdn*****
Tue Oct 25 18:55:28 JST 2022


#45860: installer_cross / Meson: Qt6-client build "error: '_WIN32_WINNT" redefined'

  Open Date: 2022-10-14 13:17
Last Update: 2022-10-25 12:55

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

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

Last Changes/Comment on this Ticket:
2022-10-25 12:55 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


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

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

Ticket details:

Building installer_cross / Meson Qt6-client with crosser from 2.5 branch (the branch is different from main, and current HEAD is already considered a crosser-2.5 candidate) gives
<command-line>: error: "_WIN32_WINNT" redefined [-Werror]
<command-line>: note: this is the location of the previous definition
Se it looks like in addition to our own _WIN32_WINNT definition we're inheriting one from somewhere else (presumably with pkg-config)
And that part of the command line is: "-D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00"


-- 
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/45860
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45860



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