onvif / specs

ONVIF Network Interface Specifications
Other
325 stars 87 forks source link

Add commented out workaround for visual studio workaround #443

Closed HansBusch closed 5 days ago

HansBusch commented 2 weeks 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.