Compilation error in composite structure diagram