关键词不能为空

当前您在: 主页 > 英语 >

#pragma option(mbcs)

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-19 01:25
tags:

-

2021年2月19日发(作者:rooney)


The


#pragma


options



directive


specifies


compiler


options


for


your


source


program.


Syntax




Notes


By


default,


pragma


options


generally


apply


to


the


entire


source


program.


Some


pragmas


must


be


specified


before


any


program


source


statements.


For


the documentation for more information on pragma options.


To specify more than one compiler option with the


#pragma options



directive, separate the options using a blank space. For example:


#pragma options langlvl=stdc89 halt=s spill=1024 source


Most


#pragma options



directives


must


come


before


any


statements


in


your


source program; only comments, blank lines, and other


#pragma



specifications


can


precede


them.


For


example,


the


first


few


lines


of


your


program can be a comment followed by the


#pragma


options directive:


/* The following is an example of a #pragma options directive: */


#pragma options langlvl=stdc89 halt=s spill=1024 source


/* The rest of the source follows ... */


Options specified before any code in your source program apply to your


entire program source code. You can use other


#pragma


directives


throughout


your


program


to


turn


an


option


on


for


a


selected


block


of


source


code. For example, you can request that parts of your source code be


included in your compiler listing:


#pragma options source


/* Source code between the source and nosource #pragma


options is included in the compiler listing */


#pragma options nosource


The settings in the table below are valid


options


for


#pragma options


.


For more information, refer to the pages of the equivalent compiler


option.


Valid settings for


Language


Compiler option


#pragma options


Application


equivalent


option_keyword





align=


option



-q


align



Description


Specifies what


aggregate alignment


rules the compiler


uses for file


compilation.


Specifies whether


type-based aliasing


is to be used during


optimization.


Instructs the


compiler to apply


aliasing assertions


to your compilation


unit.


Produces an


attribute listing


containing all


names.




[no]ansialias


-q


alias





assert=


option



-q


alias





[no]attr


attr=full


-q


attr





chars=


option



-q


chars



Instructs the


compiler to treat


See


also


#pragma


all variables of


chars



type char as either


signed or unsigned.


-q


check



Generates


code


which


performs certain


types of run-time


checking.


When used with


optimization,


reduces code size


where possible, at


the expense of


execution speed.




[no]check




[no]compact


-q


compact





[no]dbcs


-q


mbcs, dbcs



String literals and


comments


can


contain


multibyte


characters.




[no]dbxextra


-q


dbxextra



Generates symbol


table information


for unreferenced


variables.


Allows special


digraph and keyword


operators.


Allows the $$ symbol


to be used in the


names of


identifiers.




[no]digraph


-q


digraph





[no]dollar


-q


dollar





enum=


option



-q


enum



Specifies


the


amount


of storage occupied


See


also


#pragma


by


the


enumerations.


enum



-q


flag



Specifies the


minimum severity


level of diagnostic


messages to be


reported.


Severity levels can


also be specified


with:


#pragma options


flag=i =>


#pragma


report


(level,I)


#pragma options


flag=w =>


#pragma


report


(level,W)


#pragma options


flag=e,s,u =>


#pragma report



(level,E)




flag=


option





float=[no]


option



-q


float



Specifies various


floating point


options to speed up


or improve the


accuracy


of


floating


point operations.




[no]flttrap=


option



-q


flttrap



Generates extra


instructions to


detect and trap


floating point


exceptions.


Specifies the path


information stored


for files for dbx


stabstrings.


Stops compiler when


errors of the


specified severity


detected.


Specifies search


order for user


include files.


Allows the compiler


to perform


optimizations that


assume


errno


is not


modified by system


calls.


Instructs the


compiler to ignore


certain pragma


statements.




[no]fullpath


-q


fullpath





halt


-q


halt





[no]idirfirst


-q


idirfirst





[no]ignerrno


-q


ignerrno





[no]ignprag


-q


ignprag





[no]info=


option



-q


info



Produces


informational


See


also


#pragma


messages.


info



-q


initauto



Initializes


automatic


storage


to


a specified


hexadecimal byte


value.




initauto=


value




-q


isolated_call



Specifies functions



isolated_call=


names



in the source file


See


also


#pragma


that have no side


isolated_call



effects.

-


-


-


-


-


-


-


-



本文更新与2021-02-19 01:25,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/666352.html

#pragma option(mbcs)的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文