由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - what's wrong with gcc?
相关主题
HOw to find files hardlinked to a same inode?how to delete a file with NULL name in unix? (转载)
fileIDHelp! E297: Write error in swap file
my script Re: how would you do this?group permission
Am I in trouble?怎样用mail把某一文本文件发送给一个email地址?
link 一问what is the problem? what can I do?
[转载] 问一个file system的问题?how to contral tar-ed file size?
problem: "no inode free"HELP.
how to repair?turn off a Sun workstation关于CPU时间急问!
相关话题的讨论汇总
话题: gcc话题: stat话题: what话题: stab话题: wrong
进入Unix版参与讨论
1 (共1页)
a***e
发帖数: 5
1
use struct stat to get inode of a file like this,
...
struct stat stab;
...
...
stat(filename,&stab)
...
gcc says error of "storage size of 'statb' isn't known"
but cc works well.
what's the point?
m*****e
发帖数: 4193
2
did you include the required header files?

【在 a***e 的大作中提到】
: use struct stat to get inode of a file like this,
: ...
: struct stat stab;
: ...
: ...
: stat(filename,&stab)
: ...
: gcc says error of "storage size of 'statb' isn't known"
: but cc works well.
: what's the point?

a***e
发帖数: 5
3
of course.
i said cc compiler works well.

【在 m*****e 的大作中提到】
: did you include the required header files?
m*******m
发帖数: 182
4
gcc checks more stuff and more strictly than cc.
This may be a scope problem of the code.

【在 a***e 的大作中提到】
: of course.
: i said cc compiler works well.

m*******m
发帖数: 182
5
gcc checks more stuff and more strictly than cc.
This may be a scope problem of your code.

【在 a***e 的大作中提到】
: of course.
: i said cc compiler works well.

1 (共1页)
进入Unix版参与讨论
相关主题
关于CPU时间急问!link 一问
What's the quickest way to change various filenames with same format under unix?[转载] 问一个file system的问题?
Re: What's the quickest way to change various filenames with same formproblem: "no inode free"
如何用mail命令发送代附件的信how to repair?turn off a Sun workstation
HOw to find files hardlinked to a same inode?how to delete a file with NULL name in unix? (转载)
fileIDHelp! E297: Write error in swap file
my script Re: how would you do this?group permission
Am I in trouble?怎样用mail把某一文本文件发送给一个email地址?
相关话题的讨论汇总
话题: gcc话题: stat话题: what话题: stab话题: wrong