Re: download.gnome.org/binaries/win32 gobject/gparam.h deprecated warning after MinGW update to gcc 6.3

Ignacio Casal Quinteiro <[email protected]> Tue, 15 Aug 2017 23:16:19 +0200
Newsgroups gmane.comp.gnome.devel
Message-ID <CAPtp-N-OHvXJx1Dguoxc0SeGe68zmv3xRQfVRfu7ZkqTxRbWaA@mail.gmail.com>
--===============5159836948288016490==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline



--===============5159836948288016490==
Content-Type: multipart/alternative; boundary="94eb2c081f926e2f960556d14a95"

--94eb2c081f926e2f960556d14a95
Content-Type: text/plain; charset="UTF-8"

Hey David,

have a look at https://github.com/wingtk/gvsbuild
With this script you can build new binaries.

Cheers.

On Tue, Aug 15, 2017 at 10:42 PM, David C. Rankin <
[email protected]> wrote:

>
> All,
>
>   I don't know where this should be asked or directed, but within the past
> week or so, MinGW update its gcc from 5.x to 6.3. As a result, when
> building
> gtk apps on windows using the old binaries from:
>
> https://download.gnome.org/binaries/win32/
>
>   gobject/gparam.h now generates warnings about using '1 << 31` not being a
> integer value (and it isn't as it exceeds INT_MAX by 1). As of gcc 6.3 it
> will
> complain loudly about the (1U << 31 would be fine).
>
>   The error is:
>
>  c:/opt/gtk2/include/glib-2.0/gobject/gparam.h:157:33: warning:
>  enumerator value for 'G_PARAM_DEPRECATED' is not an integer constant
>  expression [-Wpedantic]
>   G_PARAM_DEPRECATED          = 1 << 31
>                                 ^
>
>   Granted, we are talking about pedantic warnings, but it is a symptom of
> an
> aging problem. The binaries available have not be rebuilt in many years.
> Who
> does that?
>
>   The reason I ask, is with the gcc version jump it may be worth rebuilding
> all the win32 binaries (and possibly ad win64 binaries) to bring things up
> to
> date. (many of the sources are many versions out of date anyway, requiring
> additional GLIB_MINOR_VERSION check, etc., when building on windows.
>
>   Not knowing who are where this should be addressed, I thought I would
> start
> here on the 'gnome-devel' list. Somebody has to know who would be in the
> best
> position to address this to. If this is something we can do a divide and
> conqueror on, I'd be happy to try building my share of the binaries. Let me
> know who we need to address this with.
>
> --
> David C. Rankin, J.D.,P.E.
> _______________________________________________
> gnome-devel-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-devel-list
>



-- 
Ignacio Casal Quinteiro

--94eb2c081f926e2f960556d14a95
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Hey David,<br><br></div>have a look at <a h=
ref=3D"https://github.com/wingtk/gvsbuild">https://github.com/wingtk/gvsbui=
ld</a><br></div>With this script you can build new binaries.<br><br></div>C=
heers.<br></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">O=
n Tue, Aug 15, 2017 at 10:42 PM, David C. Rankin <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:[email protected]" target=3D"_blank">drankinatty=
@suddenlinkmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><br>
All,<br>
<br>
=C2=A0 I don&#39;t know where this should be asked or directed, but within =
the past<br>
week or so, MinGW update its gcc from 5.x to 6.3. As a result, when buildin=
g<br>
gtk apps on windows using the old binaries from:<br>
<br>
<a href=3D"https://download.gnome.org/binaries/win32/" rel=3D"noreferrer" t=
arget=3D"_blank">https://download.gnome.org/<wbr>binaries/win32/</a><br>
<br>
=C2=A0 gobject/gparam.h now generates warnings about using &#39;1 &lt;&lt; =
31` not being a<br>
integer value (and it isn&#39;t as it exceeds INT_MAX by 1). As of gcc 6.3 =
it will<br>
complain loudly about the (1U &lt;&lt; 31 would be fine).<br>
<br>
=C2=A0 The error is:<br>
<br>
=C2=A0c:/opt/gtk2/include/glib-2.0/<wbr>gobject/gparam.h:157:33: warning:<b=
r>
=C2=A0enumerator value for &#39;G_PARAM_DEPRECATED&#39; is not an integer c=
onstant<br>
=C2=A0expression [-Wpedantic]<br>
=C2=A0 G_PARAM_DEPRECATED=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D 1 &lt;&lt; =
31<br>
=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>
=C2=A0 Granted, we are talking about pedantic warnings, but it is a symptom=
 of an<br>
aging problem. The binaries available have not be rebuilt in many years. Wh=
o<br>
does that?<br>
<br>
=C2=A0 The reason I ask, is with the gcc version jump it may be worth rebui=
lding<br>
all the win32 binaries (and possibly ad win64 binaries) to bring things up =
to<br>
date. (many of the sources are many versions out of date anyway, requiring<=
br>
additional GLIB_MINOR_VERSION check, etc., when building on windows.<br>
<br>
=C2=A0 Not knowing who are where this should be addressed, I thought I woul=
d start<br>
here on the &#39;gnome-devel&#39; list. Somebody has to know who would be i=
n the best<br>
position to address this to. If this is something we can do a divide and<br=
>
conqueror on, I&#39;d be happy to try building my share of the binaries. Le=
t me<br>
know who we need to address this with.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
David C. Rankin, J.D.,P.E.<br>
______________________________<wbr>_________________<br>
gnome-devel-list mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a=
><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-devel-list" rel=3D=
"noreferrer" target=3D"_blank">https://mail.gnome.org/<wbr>mailman/listinfo=
/gnome-devel-<wbr>list</a><br>
</font></span></blockquote></div><br><br clear=3D"all"><br>-- <br><div clas=
s=3D"gmail_signature" data-smartmail=3D"gmail_signature">Ignacio Casal Quin=
teiro</div>
</div>

--94eb2c081f926e2f960556d14a95--

--===============5159836948288016490==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-devel-list

--===============5159836948288016490==--