GCC的版本与预期版本不匹配

The version of GCC does not match the expected version

本文关键字:版本 不匹配 GCC      更新时间:2023-10-16

我正在开发Eclipse,我的项目中有一个错误:

#error The version of GCC does not match the expected version   
(GCC4.8.3)  Project1_Exemple        Unknown Compiler's error markers

我想知道在Eclipse上哪里可以修复这个错误,它在启动配置中吗?

在Eclipse的配置(项目->属性->C/C++构建->管理配置)中设置编译器调用命令(设置gcc的路径)