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=lyUiLGiK8X0GL3MFA7Ys/HQCDgLukYfsf+zDuoLYmHw=; b=CyrittxQjlFTv745Vg3QEPq56XLh310qVHNrGSJiI898g8ollF4h5ti3UNGgwX2V/I XW8bQ089lepSQYsxKdsRlWJ/0isXn/SilltOWVxrp0ZECH71XWWbjc2rG22rX1WyBiV2 hM6WIggDkLkoX9x+wS2EpBFPlx8gwgzImPzWaq1nxL+l3TuSnFNhp4wH19yYotodyjdP U3ZBRlJUmkRxkt8GR1KP2Dm8cziC6eduXsFNhciEpPCwzO1mfMNeWuCEIlmeg/Y/xON+ vkKuZhywMIABip1dIUIfa68JzLq+nJjCcEF7TR3fFftWPDImc33v0zAW7JHYcvUlwBon HVrA== 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=lyUiLGiK8X0GL3MFA7Ys/HQCDgLukYfsf+zDuoLYmHw=; b=FI0k3fv5q/eiT+x2+PE8D0dO1g2fHNMxMkCrxMcBKS6BA4eabtXLQ1skGl4t0VK1zA vBa8t+r2x8nK65/iDuWcmUY4JLgoKH1ZMOYYD4++LSsxEf5sqTYCwtwiyK5QAkpBboXC UZrrijvvaPFBRq6yy3f3UNbJ89/af6OHZ1o+0h1YP4DV6CmyFr3GA0IbWQUocDq7VSP9 /DGnedhd95iVR4UozQnP38IEbaRyzHiuqYnHm5BL7R8peOsGKyvuk1HdsO6NFUEPkNdm zChOxPx+urlcQhilStXsTF0gDAM+ecS+9v0/Q8+NW/p7XgIxYNE1XZZTRGEAyoZCSmbA pE0Q== X-Gm-Message-State: APjAAAVpWuWnlhrlvtnz3uVqbhbwiyLGf0JKAxhxmJYs/rt6s/0a2oWX nNsjNgJGoUkr8OSAT2pH07KSv1E68Z/AYRbHCHSalA== X-Google-Smtp-Source: APXvYqw2roSBzG/BArqL3ivp80JCV/yI/zWlVx+HV2etj8HwZd8edk9DFvHKT09xlL46L4rjqkhVyPfAUtKiCsvFkUg= X-Received: by 2002:a25:5707:: with SMTP id l7mr15326504ybb.299.1570963713181; Sun, 13 Oct 2019 03:48:33 -0700 (PDT) MIME-Version: 1.0 References: <20191012224528 DOT 11b1f759 AT demon> <20191013074848 DOT GA20862 AT newvzh DOT lokolhoz> In-Reply-To: <20191013074848.GA20862@newvzh.lokolhoz> From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Sun, 13 Oct 2019 21:18:21 +1030 Message-ID: Subject: Re: [geda-help] New pcb software user on windows-10 To: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com]" Content-Type: multipart/alternative; boundary="000000000000144ae90594c87e48" Reply-To: geda-help AT delorie DOT com --000000000000144ae90594c87e48 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ne-winioctl-ele= ment_type It would seem ELEMENT_TYPE has been an established struct nomenclature from XP onwards, which may explain the naming collision. On Sun, 13 Oct 2019 18:44 Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com], wrote: > On Sat, Oct 12, 2019 at 10:45:28PM +0300, dmn (graahnul DOT grom AT gmail DOT com) > [via geda-help AT delorie DOT com] wrote: > ... > > 2) Building of OpenGL version under MSYS64 [2] (gcc 9.2.0) > > using instructions from README.win64 file [3] fails: > > > > 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/2d258ca34c0c3c7dbac6db7f63eddc9dd2= c98143 > > > -- > Vladimir > > (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com/l= epton-eda > --000000000000144ae90594c87e48 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
https://docs.microsoft.com/en-us/wi= ndows/win32/api/winioctl/ne-winioctl-element_type

=
It would seem ELEMENT_TYPE has been an established = struct nomenclature from XP onwards, which may explain the naming collision= .




On Sun, 13 Oct 2019 18:44 Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-help AT delorie DOT com], <geda-help AT delorie DOT com> wrote:
On Sat, Oct 12, 2019 at 10:45:28PM +0300, dmn (graah= nul DOT grom AT gmail DOT com) [via geda-help AT delorie DOT com] wrote:
...
> 2) Building of OpenGL version under MSYS64 [2] (gcc 9.2.0)
> using instructions from README.win64 file [3] fails:
>
> 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 from ./c= rosshair.h:36,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from hid= /gtk/gtkhid-gl.c:7:
> ./const.h:364:23: error: expected identifier or '(' before num= eric
> 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 ^~~~~~~
> ./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


--
=C2=A0 Vladimir

(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94
https:/= /github.com/lepton-eda
--000000000000144ae90594c87e48--