From: JonY <jon_y@users.sourceforge.net>
To: cygwin-apps@cygwin.com
Subject: Re: [ITA] w32api-3.0b_svn5368-1
Date: Tue, 21 Aug 2012 04:48:00 -0000 [thread overview]
Message-ID: <503312FD.4030305@users.sourceforge.net> (raw)
In-Reply-To: <20120821034635.GA17755@ednor.casa.cgf.cx>
[-- Attachment #1: Type: text/plain, Size: 2742 bytes --]
On 8/21/2012 11:46, Christopher Faylor wrote:
> On Tue, Aug 21, 2012 at 11:31:23AM +0800, JonY wrote:
>> On 8/21/2012 10:23, JonY wrote:
>>> On 8/21/2012 09:15, JonY wrote:
>>>> On 8/21/2012 07:22, Yaakov (Cygwin/X) wrote:
>>>>> On 2012-08-20 07:15, JonY wrote:
>>>>>> New version up. Was the first uploaded?
>>>>>
>>>>> No, nor can it until packages which depend on w32api build correctly.
>>>>>
>>>>>> http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32api/w32api-3.0b_svn5373-1-src.tar.bz2/download
>>>>>>
>>>>>> http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32api/w32api-3.0b_svn5373-1.tar.bz2/download
>>>>>>
>>>>>> http://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32api/setup.hint/download
>>>>>>
>>>>>
>>>>> The binary package contains only the headers; the libs are missing.
>>>>>
>>>>
>>>> My bad, I did not notice the build stage error, cygport proceeded to
>>>> install and package.
>>>>
>>>>> So I built this from SVN trunk myself, and xorg-server still FTBFS:
>>>>>
>>>>> In file included from /usr/include/w32api/windows.h:69:0,
>>>>> from /usr/include/X11/Xwindows.h:60,
>>>>> from ../../../hw/xwin/winms.h:42,
>>>>> from ../../../hw/xwin/win.h:193,
>>>>> from winpriv.c:10:
>>>>> /usr/include/w32api/windef.h:107:13: error: conflicting types for 'BOOL'
>>>>> /usr/include/X11/Xmd.h:143:16: note: previous declaration of 'BOOL' was
>>
>> Yaakov, try this change:
>>
>> Index: include/windef.h
>> ===================================================================
>> --- include/windef.h (revision 5374)
>> +++ include/windef.h (working copy)
>> @@ -101,6 +101,7 @@
>> #ifndef _DEF_WINBOOL_
>> #define _DEF_WINBOOL_
>> typedef int WINBOOL;
>> +#ifndef XFree86Server /* For xorg-server */
>> #pragma push_macro("BOOL")
>> #undef BOOL
>> #if !defined(__OBJC__) && !defined(__OBJC_BOOL) && !defined(__objc_INCLUDE_GNU)
>> @@ -110,6 +111,7 @@
>> typedef BOOL *PBOOL;
>> typedef BOOL *LPBOOL;
>> #pragma pop_macro("BOOL")
>> +#endif /* XFree86Server */
>> #endif /* _DEF_WINBOOL_ */
>>
>> I'm not sure if things will explode horribly.
>
> Maybe this is just a sanity check/proof of concept thing but do we
> really want to have specific ifdef's like this in shipping headers?
> That would suggest a neverending cascade of ifdefs.
>
> If we really need something like this then I'd suggest something more
> generic like a #ifdef __PROTECT_PROTECT_BOOL_MACRO.
>
yeah, it is just a proof of concept, it is copied from the existing
w32api package. If this works, I'll talk to Kai about untangling the ifdefs.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 196 bytes --]
next prev parent reply other threads:[~2012-08-21 4:48 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-12 6:50 JonY
2012-08-13 14:07 ` [ITA] w32api-3.0b_svn5368-1 [GOLDSTAR request for Chris Sutcliffe inside] Corinna Vinschen
2012-08-13 18:26 ` Christopher Faylor
2012-08-20 9:31 ` Andrew Schulman
2012-08-14 2:53 ` [ITA] w32api-3.0b_svn5368-1 Yaakov (Cygwin/X)
2012-08-14 7:19 ` Corinna Vinschen
2012-08-14 7:25 ` Andy Koppe
2012-08-14 7:30 ` Corinna Vinschen
2012-08-14 7:34 ` Corinna Vinschen
2012-08-14 7:40 ` Kai Tietz
2012-08-14 7:46 ` Andy Koppe
2012-08-14 7:56 ` Corinna Vinschen
2012-08-14 8:02 ` Kai Tietz
2012-08-20 12:16 ` JonY
2012-08-20 23:23 ` Yaakov (Cygwin/X)
[not found] ` <5032E14F.5090604@users.sourceforge.net>
2012-08-21 2:24 ` JonY
2012-08-21 3:31 ` JonY
2012-08-21 3:46 ` Christopher Faylor
2012-08-21 4:48 ` JonY [this message]
2012-08-21 11:11 ` Jon TURNEY
2012-08-21 11:34 ` JonY
2012-08-21 12:10 ` NightStrike
2012-08-21 14:15 ` Jon TURNEY
2012-08-21 18:58 ` Yaakov (Cygwin/X)
2012-08-21 22:27 ` JonY
2012-08-22 9:08 ` JonY
2012-08-23 16:52 ` Jon TURNEY
2012-08-27 10:56 ` JonY
2012-08-23 18:45 ` Jon TURNEY
2012-08-29 6:15 ` Yaakov (Cygwin/X)
2012-08-29 22:11 ` JonY
2012-08-29 23:17 ` Yaakov (Cygwin/X)
2012-08-30 14:56 ` Jon TURNEY
2012-08-30 15:10 ` NightStrike
2012-09-03 10:35 ` Corinna Vinschen
2012-09-03 11:05 ` JonY
2012-09-03 15:59 ` Jon TURNEY
2012-09-03 16:06 ` Jon TURNEY
2012-09-04 10:22 ` JonY
2012-09-04 13:49 ` JonY
2012-09-24 4:27 ` Yaakov (Cygwin/X)
2012-10-02 8:54 ` JonY
2012-10-09 10:07 ` Corinna Vinschen
2012-10-09 11:49 ` JonY
2012-10-09 12:02 ` Corinna Vinschen
2012-10-10 3:48 ` Yaakov (Cygwin/X)
2012-10-10 8:24 ` Corinna Vinschen
2012-10-10 9:09 ` Corinna Vinschen
2012-10-11 4:55 ` Yaakov (Cygwin/X)
2012-10-11 9:32 ` Corinna Vinschen
2012-10-11 17:10 ` Yaakov (Cygwin/X)
2012-10-12 10:27 ` JonY
2012-10-12 10:57 ` Yaakov (Cygwin/X)
2012-10-13 5:37 ` [ITP] w32api r5431 [Was: Re: [ITA] w32api-3.0b_svn5368-1] JonY
2012-10-13 15:37 ` Corinna Vinschen
2012-10-13 15:47 ` Christopher Faylor
2012-10-13 16:08 ` Corinna Vinschen
2012-10-13 16:28 ` JonY
2012-10-13 16:45 ` Christopher Faylor
2012-10-13 18:12 ` Christopher Faylor
2012-10-16 14:50 ` JonY
2012-10-16 15:32 ` Corinna Vinschen
2012-10-16 22:19 ` JonY
2012-10-16 22:43 ` JonY
2012-10-17 8:18 ` Corinna Vinschen
2012-10-17 1:02 ` Yaakov (Cygwin/X)
2012-10-17 8:20 ` Corinna Vinschen
2012-10-17 9:23 ` JonY
2012-10-17 22:17 ` JonY
2012-10-18 4:09 ` Yaakov (Cygwin/X)
2012-10-18 8:08 ` Corinna Vinschen
2012-10-18 9:22 ` JonY
2012-10-18 10:32 ` Corinna Vinschen
2012-10-18 15:19 ` gold stars " Christopher Faylor
2012-10-18 16:01 ` Corinna Vinschen
2012-10-18 21:53 ` JonY
2012-10-19 16:48 ` Andrew Schulman
2012-08-29 18:49 ` [ITA] w32api-3.0b_svn5368-1 Andy Koppe
2012-08-14 9:37 ` JonY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503312FD.4030305@users.sourceforge.net \
--to=jon_y@users.sourceforge.net \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).