I can confirm those findings:
-
I can reproduce the error with the simple example above if I switch on /permissive- mode (which we have configured in our project as well, where I saw the error originally); (EDIT: on further tests, I can even reproduce it with only
#include "itkConnectedComponentImageFilter.h"
) -
and the errors go away with the fix provided above
Thanks!