FS#46094 - [mingw-w64-headers] type definitions fail for x86_64 (but not i686) compiling libxdmcp

Attached to Project: Community Packages
Opened by Jens Staal (WFcody) - Monday, 24 August 2015, 12:50 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 19 December 2016, 14:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The i686 build works fine but an indentical build for x86_64 fails with lack of definitions for INT64, ULONG64, LONG64 ...

Additional info:
* package version(s)
gcc 5.2.0-1, mingw 4.0.4-1
official packages in [community] and other dependencies from AUR.

* config and/or log files etc.
PKGBUILD can be found here:
https://aur.archlinux.org/packages/mingw-w64-libxdmcp/

Steps to reproduce:
* uncomment/enable the x86_64 architecture and try to compile
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 19 December 2016, 14:56 GMT
Reason for closing:  Upstream
Additional comments about closing:  or maybe not a bug
Comment by Sergej Pupykin (sergej) - Thursday, 17 November 2016, 14:32 GMT
it is because of

> /usr/x86_64-w64-mingw32/include/X11/Xmd.h is owned by mingw-w64-xproto 7.0.28-1

INT64 type definition differs from

/usr/x86_64-w64-mingw32/include/basetsd.h is owned by mingw-w64-headers 5.0.0-1

not sure which one is right, but as workaround you may #undef LONG64 in Xmd.h

Loading...