Pragma Derectives [英] Pragma Derectives
问题描述
您好
无论如何在Visual C ++ 2005中使用自定义pragma指令。我有一个源文件,其中pragma derectives声明如下
abc.c(来源)
#pragma ghs section sbss =" .sec2"
unsigned int var;  ;
#pragma ghs section sbss = default
现在,当我编译源代码时,它会发出警告,"Unknown pragma"。因为编译器不能识别这个pragma ..所以有没有办法让编译器识别这个pragma derective ..
谢谢所有..
您好 -
您错误地将您的问题发布在专用于Microsoft Project Server的用户论坛中,这是一个企业项目管理。工具 我建议您在专门讨论Visual C的论坛中重新发布您的问题。
$
http://social.msdn.microsoft.com/Forums/da-dk/category/visualc
希望这会有所帮助。
Hi
Is there anyway to use custom pragma directives in Visual C++ 2005. I have a source file wherein the pragma derectives are declared as below
abc.c(source)
#pragma ghs section sbss=".sec2"
unsigned int var;
#pragma ghs section sbss=default
Now when I compile the source it gives a warning, "Unknown pragma". Its because the compiler does not recognize this pragma.. So is there any way to get the compiler recognize this pragma derective..
Thanks all..
Hi there--
You have erroneously posted your question in a user forum dedicated to Microsoft Project Server, an enterprise project management tool. I would suggest that you repost your question in a forum dedicated to Visual C.
http://social.msdn.microsoft.com/Forums/da-dk/category/visualc
Hope this helps.
这篇关于Pragma Derectives的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!