wxwidgets/include
Vadim Zeitlin 2d939a3665 Add wxDEPRECATED_EXPORT_CORE() macro for wxTransformMatrix
wxDEPRECATED_MSG() and WXDLLIMPEXP_CORE can't be used together in the
same declaration when the former uses the standard attribute ([[...]])
and the latter uses a legacy one (__attribute__((....))), at least not
with gcc 12.

Work around this problem by defining a special new macro that combines
both attributes in a working way.

This is rather ugly, as it would seem to be better to just always define
WXDLLIMPEXP_CORE using the standard attribute, but unfortunately this
doesn't work as the standard attribute must be placed before the
function and variable declarations, while we currently use our DLL
export macros in the middle of the declaration. Maybe we can change all
the declarations doing this later, but for now this is the simplest
solution to the immediate problem.

See #22790.
2022-09-18 19:53:39 +02:00
..
msvc/wx Don't use token-pasting with non-identifiers in msvc/wx/setup.h 2022-08-01 17:02:55 +01:00
wx Add wxDEPRECATED_EXPORT_CORE() macro for wxTransformMatrix 2022-09-18 19:53:39 +02:00