ignore invalid conversion
remove cplusplus def
macosx build now broken again?