| Issue 1: | cannot find mem.h | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. cc test.c
2.
3.
What is the expected output? What do you see instead?
In file included from OO.h:16:0,
from Memory.h:2,
from Vector.h:3,
from test.c:7:
OOExt.h:6:17: 致命错误:mem.h:没有那个文件或目录
编译中断。
What version of the product are you using? On what operating system?
OOC_GCC_v0.2.0215
Fedora 14 x86_64
Please provide any additional information below.
/*nothing...*/
Feb 15, 2011
#1
zht...@gmail.com
Mar 27, 2011
哈,我刚看到你这个留言,实在不好意思...其实是太懒了,懒得点那个issues,一直以为没多少人用 首先编译的时候不要带glib的库 直接gcc 所有的C文件就好 如果是0.6的要加上-fms-extensions 如果你有eclipse也可以以导入文件夹的方式导入,然后删除非.c,.h的文件即可 0.6的数据结构部分还没整, 准备新建一个叫JLib的项目来完成, 这个纯粹模拟OO,个人感觉0.6的实现使用起来已经比较方便了 不过0.6和0.5之前的风格稍有差异,更加开放了
Mar 27, 2011
for version v0.2.0215 , Just type the command gcc *.c 对于v0.2.0215的版本 直接用gcc *.c 编译就好
Mar 27, 2011
还有就是google code有些设置我还不太熟悉, 如果对我写的这个宏有兴趣, 如果这里没有及时回复,直接gmail我就好
Mar 28, 2011
还有就是补充一下如果没有mem.h,就把那个注释掉,如果无法编译,在找一下系统的malloc的头文件
Mar 28, 2011
更正一下把那个<mem.h>换成<string.h>应该会好些
Apr 24, 2011
(No comment was entered for this change.)
Labels:
-Type-Defect Type-Other
May 21, 2011
(No comment was entered for this change.)
Status:
Fixed
|