ubuntu12.04下使用eclipse开发gtk+程序,为什么语法检查去除不了啊?能编译运行。

软件和网站开发以及相关技术探讨
回复
imaginefei
帖子: 78
注册时间: 2010-06-04 19:54
系统: ubuntu12.04
联系:

ubuntu12.04下使用eclipse开发gtk+程序,为什么语法检查去除不了啊?能编译运行。

#1

帖子 imaginefei » 2012-12-18 14:13

ubuntu12.04下使用eclipse开发gtk+程序,一直都有语法检查错误,关闭拼写检查还是一样,能编译通过,也能正常运行。
哪位前辈曾经遇到过的?帮帮忙,谢谢!!
1.png
To the world you may be one person, but to one person you may be the world.
imaginefei
帖子: 78
注册时间: 2010-06-04 19:54
系统: ubuntu12.04
联系:

Re: ubuntu12.04下使用eclipse开发gtk+程序,为什么语法检查去除不了啊?能编译运行。

#2

帖子 imaginefei » 2012-12-18 14:28

把文件名后缀改为 .c 以后就正常了,难道不支持C++?
To the world you may be one person, but to one person you may be the world.
imaginefei
帖子: 78
注册时间: 2010-06-04 19:54
系统: ubuntu12.04
联系:

Re: ubuntu12.04下使用eclipse开发gtk+程序,为什么语法检查去除不了啊?能编译运行。(已解决)

#3

帖子 imaginefei » 2012-12-18 15:49

gtk+本来就是基础C语言的,没认真看介绍,唉。。。
To the world you may be one person, but to one person you may be the world.
回复