Re: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"

scintillaDotOrg <[email protected]> Fri, 19 Jun 2026 15:42:38 -0700 (PDT)
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
------=_Part_93086_548256125.1781908958825
Content-Type: multipart/alternative; 
	boundary="----=_Part_93087_1603309979.1781908958825"

------=_Part_93087_1603309979.1781908958825
Content-Type: text/plain; charset="UTF-8"

Nenad:

How to solve this warning appears in 
../scintilla/gtk/ScintillaGTKAccessible.cxx

/usr/include/glib-2.0/glib/gmacros.h:1337:33: warning: Deprecated 
pre-processor symbol: replace 
with "G_ADD_PRIVATE"


These are just deprecations so can be turned off by 
defining GLIB_DISABLE_DEPRECATION_WARNINGS.

Something like:
export CPPFLAGS="-D GLIB_DISABLE_DEPRECATION_WARNINGS"
make

You could also look through the code and work out how to use the newer glib 
APIs but that looks complicated.

Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/scite-interest/8e761e22-0f40-45f5-96a9-54c1b36491cen%40googlegroups.com.

------=_Part_93087_1603309979.1781908958825
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><div dir=3D"auto">Nenad:<br /></div><div dir=3D"auto"><br /></div><blo=
ckquote style=3D"margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204,=
 204, 204); padding-left: 1ex;">How to solve this warning appears in <br />=
../scintilla/gtk/ScintillaGTKAccessible.cxx<br /><br />/usr/include/glib-2.=
0/glib/gmacros.h:1337:33: warning: Deprecated pre-processor symbol: replace=
 <br />with "G_ADD_PRIVATE"<br /></blockquote><div><br /></div><div>These a=
re just deprecations so can be turned off by defining=C2=A0GLIB_DISABLE_DEP=
RECATION_WARNINGS.</div><div><br /></div><div>Something like:</div><div>exp=
ort CPPFLAGS=3D"-D GLIB_DISABLE_DEPRECATION_WARNINGS"</div><div>make</div><=
div><br /></div><div>You could also look through the code and work out how =
to use the newer glib APIs but that looks complicated.</div><div><br /></di=
v><div>Neil</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;scite-interest&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">scit=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
scite-interest/8e761e22-0f40-45f5-96a9-54c1b36491cen%40googlegroups.com?utm=
_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/scit=
e-interest/8e761e22-0f40-45f5-96a9-54c1b36491cen%40googlegroups.com</a>.<br=
 />

------=_Part_93087_1603309979.1781908958825--

------=_Part_93086_548256125.1781908958825--