onvif / specs

ONVIF Network Interface Specifications
Other
345 stars 93 forks source link

Add commented out workaround for visual studio workaround #443

Closed HansBusch closed 4 months ago

HansBusch commented 4 months ago

Visual Studio has for many years a bug that it optimizes elements just including an array to an array. This mechanism unfortunately fails on recursive array definitions. Workaround is to add a dummy attribute.

The attribute is by default commented to avoid extra elements on other compilers.

PolylineArray has the same issue but has never been used. Hence suggest to remove.