I think there is a bug related to the error in the title. I found there is still unanswered post here
It happens when I compile my extension in Linux (windows users don’t have this problem). I found out that in the source file that caused this error there is this line:
and replacing it with this line solved the problem:
It would be nice to fix this error in slicer source as I don’t know how.