为了实现这种映射,您可以在访问寄存器的位置包括条件编译#指令。
To achieve this mapping, you may include conditional compilation #ifdef in places where you access the registers.
注:如果我们没有启用这个条件编译标志,那么就可以得到一个可以在目标环境中使用的驱动程序对象文件。
Note: If you do not enable this conditional compilation flag, you will get the release version of the driver object that will be used in the target environment.
为了能切身体会,您可以设计一个小测试程序,这个程序当且仅当期望的条件得到满足时才可以编译。
To see this yourself, design a small test program that will compile if and only if the desired condition is true.
在这个示例中,我要捕获源代码编译时的错误条件。
In this example, I've attempted to capture an error condition when compiling source code.
可能更加典型的情况是在顶级定义类中使用decorator,这些类只依赖于编译时可用的条件(这通常就足够了)。
Probably more typical is using decorators on top-level defined classes, which depend only on conditions available at compile-time (which are often adequate).
部署TXSeries应用程序作为Web服务的先决条件是使用8字节的边界进行编译。
The pre-requisite to deploy TXSeries applications as a Web services is to compile them with 8 byte boundary.
他举出了大量的例子告诉你如何巧妙地处理那些表达式树和编译你的带自定义条件的lambda表达式。
He has a great example of how you can manipulate the expression trees and build custom conditions in your lambda expressions.
假定用于指定“期望”应该符合的条件,而由于某些限制,该条件无法得到编译器的验证。
Assumptions are used to specify conditions that are supposed to be met but which the compiler cannot verify due to its limitations.
编译器会根据契约来检查代码是否满足了所有的条件,并在出现状况时发出警告。
The compiler will make specific checks via Contracts to ensure that all the conditions specified are met, issuing warning if they are not.
指令添加到输出中,位于每个包含文件的开头和结尾以及被条件编译预处理器指令移除的行的周围。
Directives to the output, at the beginning and end of each included file and around lines removed by preprocessor directives for conditional compilation.
条件编译时被排除的代码在最终的可执行文件中被完全忽略,所以不会对大小或性能有任何影响。
Code excluded during conditional compilation is completely omitted from the final executable file, so it has no effect on size or performance.
例如,如果一个条件标上了“likely”,那么编译器可以把代码的True部分直接放在分支指令后面(这样就不需要执行分支指令)。
For example, if the conditional is marked "likely" then the compiler can place the True portion of the code immediately following the branch (which will not be taken).
虽然这种方法的工作量可能要比用PRC-Tool 方法的少,但除非您的系统碰巧满足了所有先决条件,自己编译Pippy 的方法也不是毫无痛苦的。
While possibly less work than the PRC-Tools route, this route to compiling Pippy yourself is also not pain-free unless you happen to have a system with all the prerequisites.
Ubuntu等主要发行版将为开发构建环境和安装必要的GDM编译条件提供优秀的包管理功能。
A major distribution like Ubuntu provides excellent package management for developing a build environment and installing prerequisites necessary to compile GDM.
编译的预处理阶段对程序文本进行宏替换,包含进其他源文件,并进行条件编译。
A preprocessing step performs macro substitution on program text, inclusion of other source files, and conditional compilation.
它是可能的参考条件编译符号从另一个项目?
Is it possible to reference conditional compilation symbol from another project?
这样,不支持条件编译的宿主就可以忽略该代码。
This allows hosts that do not support conditional compilation to ignore it.
当与不支持该功能的浏览器之间保留兼容性时,语法3和4用来支持条件编译。
Syntaxes 3 and 4 are used to support conditional compilation while retaining compatibility with browsers that do not support that feature.
指定要对其执行条件编译的符号。
Specifies symbols on which to perform conditional compilation.
当编写用于网页的脚本时,始终将条件编译代码放在注释中。
When writing a script for a Web page, always place conditional compilation code in comments.
条件编译常量确定是否应当将跟踪和调试语句编译到程序集中。
Conditional compilation constants determine whether tracing and debugging statements should be compiled into the assembly.
使用项目设置定义条件编译常量。
Use the project Settings for defining conditional compilation constants.
不支持条件编译的脚本引擎显示一则消息,建议需要使用新的脚本引擎,而不会产生错误。
Scripting engines that do not support conditional compilation display a message advising of the need for a new scripting engine without generating errors.
这样,不支持条件编译的宿主就可以忽略该代码。
This enables hosts that do not support conditional compilation to ignore this code.
加入、移除,或变更条件式编译陈述式的评估运算式。
Adding, removing, or changing the evaluation expression of a conditional compilation statement.
继续与两个单独的解决方案,只是分享源代码,如果必要的话,使用条件编译来反映sp2010和2013的API之间的变化。
Keep going with two separate solutions, just share the source code and if necessary, use conditional compilation to reflect changes between SP2010's and 2013's APIs.
当编写用于网页的脚本时,始终将条件编译代码放入注释中。
When you write a script for a Web page, always put conditional compilation code in comments.
条件编译变量可用于确定解释脚本的引擎的版本信息。
Conditional compilation variables can be used to determine the version information of the engine interpreting a script.
条件编译常数具有特殊的范围并且不能从标准代码访问。
Conditional compilation constants have a special scope and cannot be accessed from standard code.
条件编译常数具有特殊的范围并且不能从标准代码访问。
Conditional compilation constants have a special scope and cannot be accessed from standard code.
应用推荐