cannot currently enable warning checks for C++ class definition syntax as there are incorrect warnings