预期的标识符或'{'和预期的非限定 ID
Expected identifier or '{' and Expected unqualified-id
我正在尝试将我们的系统从Xcode 3.2移动到Xcode 4.6,但出现以下编译错误(同一行)
Expected identifier or '{'
Expected unqualified-id
导致错误的代码是(行 - 命名空间 PVM):
namespace wvNS
{
namespace PVM
{
int a = 1;
}
}
我们在系统内有许多文件中有此代码。有人能发现这一点吗?
谢谢!
谢谢马特!
我在 10.8 SDK 中找到了这个(显然不在 10.6 SDK 中)
#define PSWP 0
#define PVM 4
#define PINOD 8
#define PRIBIO 16
#define PVFS 20
相关文章:
- 在C++中,是否可以基于给定的标识符创建基类的新实例,反之亦然
- #ifdef和未声明的标识符
- 从函数角度看ID到文件路径的内部与外部映射
- 通过组合不同的类型来创建唯一的id
- f2、f3、f4标识符未找到
- 我不断收到 [错误] ID 返回 1 退出状态错误,但看不到问题所在
- FFMPEG配置文件级别id大小无效
- 方法内部但循环仍得到预期的不合格id错误C++
- 设置 Visual Studio for MPI: 找不到标识符错误
- 未声明的标识符编译暗黑破坏神 2 程序"muleview"
- 在顶点着色器中使用 OpenGl 的未声明标识符,我在顶点着色器中绘制三角形时遇到问题
- Google protobuf 时间戳未声明标识符,在 Windows 上具有C++
- 如何获取 GLFW 窗口 ID?
- 如何让 GCC/Clang 在保留标识符上出错
- 当简单捕获中的标识符显示为参数的声明符 ID 时,没有编译器诊断
- 从 std::thread::id 结构中检索 Windows 线程标识符
- 生成可以区分 ID(Foo::a()) 和 ID(Foo::b()) 的唯一标识符
- 预期的标识符或'{'和预期的非限定 ID
- 如何根据左值和右值对标识符以外的非限定id进行分类
- MFC:已添加资源,但资源 ID 仍有未声明的标识符