4VC Compilation Syntax Explanation

Source: Internet
Author: User
Tags comments exception handling function prototype
Vc-project setting-debug-project option Syntax explanation-optimization-/o1 minimized space minimize space/op[-] improved floating point consistency improve floating-pt consistency /o2 maximized Speed maximize Speed/os preferred code space favor Codes SPACE/OA assumes no alias assume no aliasing/ot preferred code speed favor code SPEED/OB inline expansion (default n=0) inline expansion (default n=0)/ow assumes crossover function alias assume cross-function aliasing/od disable optimizations (defaults) Disable optimizations (def Ault)/ox maximize options. (/OGITYB2/GS) Maximum opts. (/OGITYB1/GS)/og enabling global optimization enable the optimization/oy[-] enable frame pointer ellipsis allow frame pointer omission/oi enabling built-in function enable Intri Nsic functions-code generation-/G3 for 80386 optimization optimize for 80386/g4 80486 optimization optimize for 80486/gr[-] enable C + + RTTI enabled c+ + rtti/g5 for Pentium optimization optimize for pentium/g6 Pentium Pro optimization optimize for Pentium pro/gx[-] enable C + + exception handling (with/EHSC The same) enable C + + EH (same AS/EHSC)/EHs enables synchronous C + + exception handling enabling synchronous C + + EH/GD to optimize for Windows DLLs optimize for Windows DLL/GB optimized for mixed models (default) optimize for blended model/EHa enabling asynchronous C + + exception handling enable asynchronous c++ eh/gd __cdecl calling convention __cdecl calling CONVENTION/EHC extern "C" by default nothrow extern "C" defaults to nothrow/gr __fastcall tune Use convention __fastcall calling convention/gi[-] enabling incremental compilation enable incremental compilation/gz __stdcall calling convention __stdcall calling Conven Tion/gm[-] Enabling minimal rebuild enable minimal rebuild/ga optimized for Windows applications optimize for Windows APPLICATION/GF enable string pooling enabling Stri Ng pooling/qifdiv[-] Enabling Pentium FDIV repair enable Pentium FDIV FIX/GF enable read-only string pooling enabling Read-only string pooling/qi0f[-] Enabled Pentium 0x0f Repair Enable Pentium 0x0f FIX/GY separate linker functions separate functions for LINKER/GZ enabling run-Time debugging check the Enable runtime debug checks S/gh Enable hook function calling enable hook functions call/ge enforce stack check on all functions force stack checking for all Funcs/gs[num] disable stack check call disable Stac K Checking calls-output file-/fa[file] name the assembly list file name assembly listing file/fo named Object File "name Objects FILE/FA[SC] Configure assembly list Configu Re assembly listing/fp named precompiled Header file name Precompiled header File/fd[file] named. PDB file name. PDB File/fr[file] Name Source browser file name browser File/feName the executable file name executable file/fr[file] name extension. SBR file name extended. SBR File/fm[file] Name Mapping file name map files-preprocessor-/fi name mandatory include file name forced include file/c do not draw comments don ' t strip comments/u remove booking Macros remove predefined macro/d{=|#} Define macro define macro/u remove all predefined macros remove all predefined macros/e directs preprocessing to standard output preprocess to stdout/i the search path added to the include file add to include search PATH/EP directs preprocessing to standard output, without line number preprocess to stdout, no #line/x ignores "standard location" ignore "Standard Places"/p pre-processing to the file preprocess to files-language-/zi enabling debugging information Enable debugging Information/zl ignored. The default library name in OBJ is omit in. Obj/zi "Edit and Continue" enabled debugging information Enable editor and Continue Debug INFO/ZG Generate function prototype generate functions prototypes/z7 enable legacy debugging information enabling O Ld-style Debug Info/zs only for syntax checking syntax check ONLY/ZD only line number debug information lines numbers debugging info only/vd{0|1} disable/enable Vtordisp dis Able/enable Vtordisp/zp[n] Wrapper structure pack on N-byte boundary structs on N-byte boundary/vm pointer to member type ' of pointers to members/za disabled Extension (allusion/op) disable extensions (IMPLIES/OP)/nobool disable "bool"Keyword disable "bool" keyword/ze enable extension (default) Enable extensions (defaults)-Miscellaneous-/?,/help Print this help message. No link compile only, no link/w set warning level (default n=1) set warning levels (defaults n=1)/h maximize external name length max external name length/j default The char type is unsigned default char, type is unsigned/nologo suppress copyright messages suppress copyrights MESSAGE/WX treats warnings as errors treat warnings as ERRORS/TC compiles the files to. C compile file as. C/yc[file] creation. PCH file Create. PCH FILE/TP compiles the files to. cpp compile file as. cpp/yd put debug information on each. In OBJ, put debug info in every. OBJ/TC compiles all files into. C Compile all file as. C/TP compiles all the files into. cpp compile all file as. Cpp/yu[file] use. PCH file use. PCH file/v Sets the version string set to String/yx[file] automatic. PCH file Automatic. pch/w Disable all warnings Disable all WARNINGS/ZM maximum memory allocation (default =%) Max Memories Alloc (% of default)-links-/MD and MSVCRT. LIB link with MSVCRT. LIB/MDD and MSVCRTD. The LIB debug library links link with MSVCRTD. LIB Debug Lib/ml and LIBC. LIB link with LIBC. Lib/mld and LIBCD. The LIB debug library links link with LIBCD. Lib Debug lib/mt and LibCmt. LIB link with LIBCMT. LIB/MTD and LIBCMTD. The LIB debug library links link with LIBCMTD. LIB Debug Lib/ld created. DLL Create. dll/f sets the stack size set size/ldd created. DLL Debug Library Create. DLL debug Libary/link [linker options and libraries] [linker options and libraries]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.