Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
编译Cobalt时出现如下错误,有大神知道是什么原因吗?它说'ShadowType'不是grammy.y中的类或命名空间:3421,我不知道grammy.y用的是什么,并尝试跟踪和修改代码,它不起作用。
语法.y 错误详情
您的问题是 C++0x 之前的 C++ 版本根本不支持 ShadowType::kBoxShadow(member in enum type) 使用,您可以将 cflags_cc 从 "-std=gnu++98" 更改为 "-std=gnu+ +0x"inthird_party/starboard/linux/shared/gyp_configuration.gypi,然后再试一次。