delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2019/10/13/07:03:43

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: <!&!AAAAAAAAAAAuAAAAAAAAAFhmyAMvRYpGsCoebvH3aRQBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAABTCrBXQdHvTL5ft6u4nG8xAQAAAAA=@btinternet.com>
<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]" <geda-help AT delorie DOT com>
Date: Sun, 13 Oct 2019 21:18:21 +1030
Message-ID: <CAHUm0tPaVc3iKhGi=tDdv55mXQo3WQTunn+9pFKaxgPAe25-hA@mail.gmail.com>
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]" <geda-help AT delorie DOT com>
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], <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

<div dir=3D"auto"><a href=3D"https://docs.microsoft.com/en-us/windows/win32=
/api/winioctl/ne-winioctl-element_type">https://docs.microsoft.com/en-us/wi=
ndows/win32/api/winioctl/ne-winioctl-element_type</a><div dir=3D"auto"><br>=
</div><div dir=3D"auto">It would seem ELEMENT_TYPE has been an established =
struct nomenclature from XP onwards, which may explain the naming collision=
.</div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div dir=3D"=
auto"><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Sun, 13 Oct 2019 18:44 Vladimir Zhbanov (<a href=3D"mail=
to:vzhbanov AT gmail DOT com">vzhbanov AT gmail DOT com</a>) [via <a href=3D"mailto:geda-=
help AT delorie DOT com">geda-help AT delorie DOT com</a>], &lt;<a href=3D"mailto:geda-he=
lp AT delorie DOT com">geda-help AT delorie DOT com</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">On Sat, Oct 12, 2019 at 10:45:28PM +0300, dmn (<a href=3D=
"mailto:graahnul DOT grom AT gmail DOT com" target=3D"_blank" rel=3D"noreferrer">graah=
nul DOT grom AT gmail DOT com</a>) [via <a href=3D"mailto:geda-help AT delorie DOT com" targe=
t=3D"_blank" rel=3D"noreferrer">geda-help AT delorie DOT com</a>] wrote:<br>
...<br>
&gt; 2) Building of OpenGL version under MSYS64 [2] (gcc 9.2.0)<br>
&gt; using instructions from README.win64 file [3] fails:<br>
&gt; <br>
&gt; In file included from ./global.h:48,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 from ./c=
rosshair.h:36,<br>
&gt;=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:<br>
&gt; ./const.h:364:23: error: expected identifier or &#39;(&#39; before num=
eric<br>
&gt; constant 364 | #define ELEMENT_TYPE=C2=A0 0x00002<br>
&gt;=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>
&gt; ./const.h:364:23: error: expected specifier-qualifier-list before<br>
&gt; numeric constant 364 | #define ELEMENT_TYPE=C2=A0 0x00002<br>
&gt;=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 ^~~~~~~<br>
<br>
FWIW, I had the like issue with this variable in MinGW. And I<br>
solved it in 2015 [1]. May this be the same issue?<br>
<br>
[1] <a href=3D"https://github.com/vzh/minipack/commit/2d258ca34c0c3c7dbac6d=
b7f63eddc9dd2c98143" rel=3D"noreferrer noreferrer" target=3D"_blank">https:=
//github.com/vzh/minipack/commit/2d258ca34c0c3c7dbac6db7f63eddc9dd2c98143</=
a><br>
<br>
<br>
-- <br>
=C2=A0 Vladimir<br>
<br>
(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 <a href=3D"https://git=
hub.com/lepton-eda" rel=3D"noreferrer noreferrer" target=3D"_blank">https:/=
/github.com/lepton-eda</a><br>
</blockquote></div>

--000000000000144ae90594c87e48--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019