不可移植的代码(unportable code): 由编译器定义的(implementation-defined):由编译器设计者决定采取何种行动,并提供相关文档——尽管由不同的编译器所...
基于20个网页-相关网页
如果您编写了使用额外结构成员的代码,那么您必须将其标记为不可移植的,并且包含一个完成相同任务的替换代码路径,如果您认为这样做特别友好的话。
If you write code that USES any extra structure members, you'll have to flag it as not portable and, if you're feeling particularly friendly, include an alternate code path that does the same thing.
当然,虽然您在PythonIDE中编写的代码可以很好地移植到Linux桌面,但是环境本身是不可以移植。
And of course, even though code you write in PythonIDE ports transfers fine to Linux desktops, the environment itself does not.
我们不会梳理早已移植的代码,例如需要移植到 Power 体系架构上的那些 “不可移植” 的代码,而是要介绍几个显然是故意设计的例子。
Rather than comb through already ported code for examples of "unportable" code that needs to be ported to Power Architecture, I'm going to give a few obviously contrived examples.
应用推荐