Eclipse CDT显示语义错误,但构建成功 [英] Eclipse CDT displays semantic error, but builds successfully

查看:189
本文介绍了Eclipse CDT显示语义错误,但构建成功的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我将g ++从4.6更新到4.7之前,我的eclipse indigo CDT运行正常。更新后,它显示语义错误,但构建和运行成功。我的代码是

Before I update g++ from 4.6 to 4.7, my eclipse indigo CDT ran normally. After updating, it displays semantic errors, but builds and runs successfully. My code is that

using my_type = int;

Eclipse显示警告语法错误

Eclipse displays warning "syntax error"

我更新了g ++ 4.7作为默认编译器。

I updated g++ 4.7 as default compiler.

推荐答案

我修复它通过更新到eclipse juno。之前,我使用eclipse helois只支持C / C ++开发工具7.0

I fixed it by updating to eclipse juno . Before, I used eclipse helois what only supports C/C++ development tool 7.0

这篇关于Eclipse CDT显示语义错误,但构建成功的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆