linux有typeof,我怎么能为windows获得相同的功能? [英] linux has typeof, how can i get the same function for windows?
问题描述
大家好,
gcc工具支持c语言的typeof,如何为windows程序获得相同的
函数?
提前谢谢。
baumann @ pan
hi all,
gcc tools support typeof for c language, how can i get the same
function for the windows program?
thanks in advance.
baumann @ pan
推荐答案
" baumann @ pan" < BA ********* @ gmail.com>写道:
"baumann@pan" <ba*********@gmail.com> writes:
gcc工具支持c语言的typeof,如何为windows程序获得相同的功能?
gcc tools support typeof for c language, how can i get the same
function for the windows program?
typeof是gcc扩展名;它不是C标准的一部分。
有几种方法可以在Windows上使用gcc。也有可能
某些Windows编译器可能提供相同的语言扩展,或者类似的一个
。
可能是特定于Windows的新闻组是获取更多
信息的最佳位置。
-
Keith Thompson(The_Other_Keith) ks***@mib.org < http://www.ghoti.net/~kst>
圣地亚哥超级计算机中心< *> < http://users.sdsc.edu/~kst>
我们必须做点什么。这是事情。因此,我们必须这样做。
typeof is a gcc extension; it''s not part of the C standard.
There are several ways to use gcc on Windows. It''s also possible that
some Windows compilers may provide the same language extension, or a
similar one.
Probably a Windows-specific newsgroup is the best place to get more
information.
--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
如果是这样,它是特定于编译器的。这个
问题没有一般解决方案吗?
if so, it is compiler specific. there is no general solution of this
problem?
Keith Thompson写道:
Keith Thompson wrote:
" baumann @ pan < BA ********* @ gmail.com>写道:
"baumann@pan" <ba*********@gmail.com> writes:
gcc工具支持c语言的typeof,如何为windows程序获得相同的功能?
gcc tools support typeof for c language, how can i get the same
function for the windows program?
typeof是一个gcc延期;它不是C标准的一部分。
有几种方法可以在Windows上使用gcc。某些Windows编译器也可能提供相同的语言扩展,或类似的语言扩展。
特定于Windows的新闻组可能是最好的选择。更多信息。
typeof is a gcc extension; it''s not part of the C standard.
There are several ways to use gcc on Windows. It''s also possible that
some Windows compilers may provide the same language extension, or a
similar one.
Probably a Windows-specific newsgroup is the best place to get more
information.
查看您的候选Windows C编译器的文档,或在他们的在线论坛上询问
。英特尔C显然将此扩展限制在他们的
linux编译器中。通常,商业Linux C编译器仅支持
标准C和Microsoft扩展。
-
Tim Prince
Check the documentation of your candidate Windows C compilers, or ask on
their on-line forum. Intel C apparently restricts this extension to their
linux compiler. Generally, commercial linux C compilers support only
standard C plus Microsoft extensions.
--
Tim Prince
这篇关于linux有typeof,我怎么能为windows获得相同的功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!