Eclipse CDT-输出 - 使用VS编译器时无用
Eclipse CDT - Output - when using vs compiler not helpful
i使用eclipse cdt(juno release),我一直在尝试看到像我们在Visual Studio中一样的编译时的错误输出。
相反,"问题"视图似乎在使我们看到编译器错误时非常有限(使用与Visual Studio相同的编译器)。
一个简单的示例。如果您有一个简单的错字
typedef std::function(void(int)) Func;
vs输出立即显示:
error C2955: 'std::function' : use of class template requires template argument list
1> c:program files (x86)microsoft visual studio 11.0vcincludefunctional(554) : see declaration of 'std::function'
通过比较,在CDT下使用相同的编译器,我会在完全不同的代码行中获取错误,其中大部分在未在原始位置使用错误定义的Typedef的区域。至少可以在其他窗口中看到"原始编译器输出",以便对正在发生的事情有一个线索?
对于编译器输出,您必须检查 console 选项卡。这是放置在问题右侧的选项卡之一您所在的选项卡。
相关文章:
- C/C++编译器通常会删除重复的库吗
- 模板-模板参数推导:三个不同的编译器三种不同的行为
- Win32编译器选项和内存分配
- MSVC多行宏编译器错误
- 静态数据成员的问题-修复链接错误会导致编译器错误
- C++,我收到一个无法理解的编译器错误
- 在线编译器中的分段C++没有打印消息
- 如何解决gcc编译器优化导致的centos双编译器设置中的分段错误
- C/C++预处理器是否可以检测一些编译器选项
- 是否有C++编译器选项允许激进地删除所有函数调用,并将参数传递给具有空体的函数
- C++错误C2600:无法定义编译器生成的特殊成员函数(必须首先在类中声明)
- 我需要知道编译器如何在cpp中使用析构函数
- 编译器如何区分std::vector的构造函数
- CLANG 编译器 说:变量"PTR"可能未初始化
- 告诉c++编译器该参数没有别名
- 使用仅使用一次的变量调用的复制构造函数.这可能是通过调用move构造函数进行编译器优化的情况吗
- 为什么所有C++编译器都会崩溃或挂起此代码
- Eclipse CDT-输出 - 使用VS编译器时无用
- 是我的编译器将适当的代码优化为无用的崩溃代码
- 类、结构、枚举等后面的C++分号,..无用,但编译器仍然会发出错误