Igalia / acacia

Library for inspecting accessibility APIs
https://igalia.github.io/acacia
GNU Lesser General Public License v2.1
8 stars 1 forks source link

Investigate mac warnings #187

Closed spectranaut closed 7 months ago

spectranaut commented 7 months ago

On mac I get a lot of warnings when I build -- do you get these @alice?

[6/14] Generating nodejs_acacia_axapi_wrap.cxx
/repos/AXAccess/include/acacia/mac/mac_data_types.h:40: Warning 503: Can't wrap 'operator =' unless renamed to a valid identifier.
alice commented 7 months ago

Yeah, that's just SWIG not wrapping operator= - i.e. I've used operator overloading on some data types which are exposed to SWIG, and SWIG won't wrap the overloaded operators unless we rename them (e.g. to reassign() or something). I should probably just add a warning suppression for them.

Edit: did this here https://github.com/Igalia/acacia/pull/203