X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vAK9CRn7yFwV7d//R7xy2SsQ1tFPqi4eXLSk/oPUNWs=; b=Y6dHb5nvotiey2a3SgSkKTeGdqelLQv5Z6T5qK+CryNLYt9Q1YtIDZhPQjZXH/rM2H pCaPRgXv5XbPbrfopWLdCsSj5ERFZInzGVf2N3i4yrE9KUirda9vpz/B4ca+vLEOyW6y 9Flwr1ebWocEfyIJwI9rPGSkuhv5cyiD7xRLZloKAMdINLiMuo1WnojmSC62mlIUVZ12 p91vtKw48TnptM8jWBr+ohGBWNS53vAV0JdskaLQiuWnUWW5KiZhrpaGV8xiNZRP3DmG gek9X4oqWO2oBZh1Y8RmQo4C/buI3F31GWaS7YMV3+yGs8t79bWjlwVvaDiW063SvBLA 3uGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vAK9CRn7yFwV7d//R7xy2SsQ1tFPqi4eXLSk/oPUNWs=; b=aLv0RiR0tikOn5CmNkCSqBttlZutpx362tvjCcsvkcZbn4LO26DVIvn/NRy67sWQ2Y Q/SglEju2fl1AHDJz9URNw1qtGHKhIDSz5K/UuF02qyDUIZpxV7eB0/B8iSUOi+8CeTN HLwKNe2Rao+tkFdU3h6MoHeHPpIJoqpZSAcQZ+WHCkatbAAL45aA/We38WBqG9x/pe2p 82XSDDztqWBU9exOg+uBZavsDMmtF8dRwvf97rGPNbknw74IBTItn8K5Oo8iERqLN6k2 INE1VxSCvc7hFUTUf7tnUtStcAfudsCVQRJ0+HBADfKOV/Oiq9ELdbo1qj1fOau1el+6 UhJg== X-Gm-Message-State: APjAAAVQkdfeHY8DvBBqbzWN+/Pn5HGoAjGEmz0qvglHwD0OSVcIf8jX Ub3fzByY9m6Z29tm/DGoKx9ai8L80HLITO2Wsl1SZYgW X-Google-Smtp-Source: APXvYqx4VvgokPEk8+PyO0AknALz0m+qJ0B02034F+zYy5rpRCkAt/hgSFA7oX9vgO5kbRv01X4Ty7EVWibncVMzc34= X-Received: by 2002:a63:f750:: with SMTP id f16mr27793836pgk.206.1570971366522; Sun, 13 Oct 2019 05:56:06 -0700 (PDT) MIME-Version: 1.0 References: <20191012224528 DOT 11b1f759 AT demon> <20191013074848 DOT GA20862 AT newvzh DOT lokolhoz> <20191013150613 DOT 48fc57b1 AT demon> In-Reply-To: <20191013150613.48fc57b1@demon> From: "Chad Parker (parker DOT charles AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Sun, 13 Oct 2019 08:55:55 -0400 Message-ID: Subject: Re: [geda-help] New pcb software user on windows-10 To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="00000000000041059a0594ca4626" Reply-To: geda-help AT delorie DOT com --00000000000041059a0594ca4626 Content-Type: text/plain; charset="UTF-8" If I recall correctly, the MSYS2 build instructions include a step to take care of the name collision. --Chad On Sun, Oct 13, 2019, 08:31 dmn (graahnul DOT grom AT gmail DOT com) [via geda-help AT delorie DOT com] wrote: > On Sun, 13 Oct 2019 10:48:48 +0300 > "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" > wrote: > > > > In file included from ./global.h:48, > > > from ./crosshair.h:36, > > > from hid/gtk/gtkhid-gl.c:7: > > > ./const.h:364:23: error: expected identifier or '(' before numeric > > > constant 364 | #define ELEMENT_TYPE 0x00002 > > > | ^~~~~~~ > > > ./const.h:364:23: error: expected specifier-qualifier-list before > > > numeric constant 364 | #define ELEMENT_TYPE 0x00002 > > > | ^~~~~~~ > > > > FWIW, I had the like issue with this variable in MinGW. And I > > solved it in 2015 [1]. May this be the same issue? > > > > [1] > > > https://github.com/vzh/minipack/commit/2d258ca34c0c3c7dbac6db7f63eddc9dd2c98143 > > > > > > Yes, but the name collision happens only when building the gtk > opengl hid. Without opengl (--disable-gl) there is no error. > ELEMENT_TYPE is a typedef'ed enum from winioctl.h. > --00000000000041059a0594ca4626 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If I recall correctly, the MSYS2 build instructions = include a step to take care of the name collision.
<= br>
--Chad

On Sun, 13 Oct 2019 10:48:48 +0= 300
"Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT c= om]"
<geda-help AT delorie DOT com> wrote:

> > In file included from ./global.h:48,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m ./crosshair.h:36,
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 fro= m hid/gtk/gtkhid-gl.c:7:
> > ./const.h:364:23: error: expected identifier or '(' befor= e numeric
> > constant 364 | #define ELEMENT_TYPE=C2=A0 0x00002
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~<= br> > > ./const.h:364:23: error: expected specifier-qualifier-list before=
> > numeric constant 364 | #define ELEMENT_TYPE=C2=A0 0x00002
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ^~~~~~~
>
> FWIW, I had the like issue with this variable in MinGW. And I
> solved it in 2015 [1]. May this be the same issue?
>
> [1]
> https= ://github.com/vzh/minipack/commit/2d258ca34c0c3c7dbac6db7f63eddc9dd2c98143<= /a>
>
>

Yes, but the name collision happens only when building the gtk
opengl hid. Without opengl (--disable-gl) there is no error.
ELEMENT_TYPE is a typedef'ed enum from winioctl.h.
--00000000000041059a0594ca4626--