首页 / 软件开发 / C++ / 编译指令#pragma详解
编译指令#pragma详解2009-10-07With #pragma, C++Builder can define the directives it wants without interfering with other compilers that support #pragma. If the compiler doesn"t recognize directive-name, it ignores the #pragma directive without any error or warning message.C++Builder supports the following #pragma directives:#pragma alignment#pragma anon_struct#pragma argsused#pragma checkoption#pragma codeseg#pragma comment#pragma defineonoption#pragma exit#pragma hdrfile#pragma hdrstop#pragma inline#pragma intrinsic#pragma link#pragma message#pragma nopushoptwarn#pragma obsolete#pragma option#pragma pack#pragma package#pragma resource#pragma startup#pragma undefineonoption#pragma warn