Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2023 13:37:32 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   glib2 deprecated declarations failing on clang16
Message-ID:  <CAFDf7U%2B-M1D7xL_AkB-eY%2B0jq2JjjdhzoZUZtnmanVoa25vOtQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000a8febc05ffa88c54
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm getting build errors from current with www/bluefish about deprecated
glib2 declarations and causing build to fail with clang16:
---
/usr/local/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from
macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
                                    ^
mv -f .deps/bluefish.Tpo .deps/bluefish.Po
bftextview2_langmgr.c:2665:2: warning: 'g_thread_create_full' is
deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
        g_thread_create_full(build_bflang2scan_thread, NULL, 0, FALSE,
FALSE, G_THREAD_PRIORITY_LOW, &gerror);
---

Any help is welcome on finding out its cause.

a related issue: https://github.com/PCSX2/pcsx2/issues/3315

Build log:
https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pf46bd2c58425_s0631830a7a/logs/bluefish-2.2.14.log

-- 
Nuno Teixeira
FreeBSD Committer (ports)

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

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>I&#39;m getting build=
 errors from current with www/bluefish about deprecated glib2 declarations =
and causing build to fail with clang16:<br></div><div>---</div><div>/usr/lo=
cal/include/glib-2.0/glib/gmacros.h:1262:37: note: expanded from macro &#39=
;G_DEPRECATED&#39;<br>#define G_DEPRECATED __attribute__((__deprecated__))<=
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 =C2=A0 =C2=A0 ^<br>mv -f .deps/bl=
uefish.Tpo .deps/bluefish.Po<br>bftextview2_langmgr.c:2665:2: warning: &#39=
;g_thread_create_full&#39; is deprecated: Use &#39;g_thread_new&#39; instea=
d [-Wdeprecated-declarations]<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 g_thread_creat=
e_full(build_bflang2scan_thread, NULL, 0, FALSE, FALSE, G_THREAD_PRIORITY_L=
OW, &amp;gerror);</div><div>---</div><div><br></div><div>Any help is welcom=
e on finding out its cause.</div><div><br></div><div>a related issue: <a hr=
ef=3D"https://github.com/PCSX2/pcsx2/issues/3315">https://github.com/PCSX2/=
pcsx2/issues/3315</a></div><div><br></div><div>Build log: <a href=3D"https:=
//pkg-status.freebsd.org/beefy17/data/main-i386-default/pf46bd2c58425_s0631=
830a7a/logs/bluefish-2.2.14.log">https://pkg-status.freebsd.org/beefy17/dat=
a/main-i386-default/pf46bd2c58425_s0631830a7a/logs/bluefish-2.2.14.log</a><=
/div><div><br><span class=3D"gmail_signature_prefix">-- </span><br><div dir=
=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div =
dir=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD=
 Committer (ports)</span></div></div></div></div>

--000000000000a8febc05ffa88c54--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2B-M1D7xL_AkB-eY%2B0jq2JjjdhzoZUZtnmanVoa25vOtQ>