[LV2] Warning: Upcoming potential compile time breakage

David Robillard d at drobilla.net
Mon Mar 23 12:30:22 PDT 2020


Hi all,

For various reasons (some just annoyances, but also that they were a
blatant violation of the C standard), the unnecessary struct names like
struct _LV2_Feature have been removed from the headers, and the ones
that are necessary (because the types are recursive) have been renamed
to remove the invalid leading underscore.

These were never intended to be used in client code (which should
always use the typedef'd names), but I noticed that some code did use
them for some reason, so please fix this.  Such code will not build
against LV2 1.18.0.

(This is only a compile time issue, binary compatibility is of course
unaffected, as always)

See 
https://gitlab.com/lv2/lv2/-/commit/f44953307bc58eb2a364297416b61c2262a64759

and 
https://gitlab.com/lv2/lv2/-/commit/0080c435932349af4ed6e8ca8f4f09d5c3d71845

Cheers,

-- 
dr



More information about the Devel mailing list