📄 diffs.gml
字号:
preventing crashes when the command line was over approx. 260 bytes long.
.bull
The NetWare 5 debugger NLM has been changed to use kernel primitives. Previous
version were using legacy semaphores.
.bull
The make program (wmake) has been sped up very slightly. Also the 'echo' command
is now internal and no longer spawns the system command interpreter.
.bull
The precision of DBL_MAX, DBL_MIN and DBL_EPSILON has been increased; the non-standard
variants prefixed with an underscore have been removed.
.bull
The C99 functions atoll(), lltoa(), ulltoa(), strtoll(), strtoull() and corresponding
wide character functions have been added to the C runtime library.
.bull
The _beginthread() function now consistently returns -1 in case of error on
all platforms.
.bull
The stdaux and stdprn streams are now only defined on DOS based platforms, ie.
DOS, Win16 and Win386. No other platforms support stdaux or stdprn.
.bull
The assert() macro now prints function name in addition to source file and
line number, in accordance with C99.
.bull
The _heapchk() function will now always perform a consistency check on the
heap, where it would previously only check consistency if there had been
allocations/frees since last call to _heapchk(). As a consequence, _heapchk()
previously did not detect certain instances of heap corruption.
.bull
[OS/2 32-bit] The default __disallow_single_dgroup() implementation no longer
statically links agaist PMWIN.DLL. This allows DLLs to load on systems where
PMWIN.DLL isn't present.
.bull
[OS/2 32-bit] Re-implemented clock(). The new implementation uses the OS
millisecond counter and is hence not susceptible to TZ changes. It is also
smaller, faster and more accurate, although it may wrap around earlier than
the original implementation.
.bull
The disassembler (wdis) now correctly processes x86 'push 8-bit immediate'
instructions.
.bull
The disassembler now correctly processes absolute memory references. All memory
references without fixup are now disassembled as ds:[...] or sreg:[...].
.bull
Several DirectX Win32 programming samples have been added. Note that a separate
DirectX SDK (available from Microsoft) is required to build these sample programs.
.endbull
.*
.*
.section Differences from Open Watcom Version 1.1
.*
.np
Following is a list of changes made in &product 1.2:
:cmt Reflects main Perforce branch as of 2003/12/1
.begbull
.bull
Handling of default libraries for Win32 targets has been changed. Previously
default library records were included in the C runtime library, now they are
specified part of the wlink Win32 target definitions in wlsystem.lnk. The
list of libraries has changed from previous version as well and now reflects
the Microsoft compiler defaults; existing IDE projects and makefiles may need
to have additional libraries specified if those are no longer part of the
default list.
.bull
The C compiler now performs stricter checking on function prototypes
and pointer operations. This may lead to previously undiagnosed
warnings/errors appearing when compiling incorrect or ambiguous code.
.bull
The C compiler diagnostic messages have been improved to print more
information, making it easier to isolate the problem.
.bull
A new warning (W130) has been added to the C compiler to diagnose possible
precision loss on assignment operations. This warning is never on by default
and must be enabled through '#pragma enable_message(130)' or '-wce=130'
switch.
.bull
Support for C99 style variable argument macros (and __VA_ARGS__) has
been added to the C and C++ compilers.
.bull
Added support for the __func__ symbol (name of the current function)
which is equivalent to the already existing __FUNCTION__ symbol.
.bull
Better C99 style support for "long long" type is now available in the
C and C++ compilers. LL, ULL and LLU suffixes are recognized for constants.
"long long int" is now also recognized.
.bull
Added C99 style *LLONG_MIN/MAX defines to limits.h.
.bull
The C++ compiler has been fixed to properly accept source files where
a template was the last item in a namespace or an external linkage.
.bull
Several new -adxx options have been added to the C and C++ compilers
to support automatic generation of 'make' style dependency files.
.bull
The C compiler has been fixed to correctly diagnose illegal union
assignments.
.bull
The C compiler now issues warnings on operations involving pointers
to different but compatible unions.
.bull
The C and C++ compilers now ensure word alignment of wide character
string literals to satisfy Win32 API restrictions.
.bull
The __UNIX__ macro is now supported in C and C++ compilers, wmake and
wasm. It is currently defined for QNX and Linux targets.
.bull
Default windowing support has been re-enabled for Win16 and Win386
runtime libraries.
.bull
Since default windowing is no longer supported on most platforms, the
Programmer's Guide and IDE tutorial have been updated to reflect that
fact.
.bull
The Win32 GUI tools now support the Windows XP look and feel.
.bull
AutoCAD and MFC targets have been removed from the IDE, the -bw switch
(default windowing) is no longer available in the IDE for OS/2 and Win32
targets.
.bull
Manual for the CauseWay DOS extender has been added.
.bull
The dmpobj tool has been added. This utility dumps the contents of OMF
object files and can be useful to developers.
.bull
Several system definitions have been added to wlink: os2_pm (16-bit OS/2
Presentation Manager executable), os2_dll (16-bit OS/2 DLL) and os2v2_dll
(32-bit OS/2 DLL).
.bull
The linker has been fixed to read "AR" style archives produced by third
party tools.
.bull
The linker has been fixed to prevent crashes when linking with COFF files
providing uninitialised COMDAT entries
.bull
Several linker crashes related to ELF object files and executables have
been resolved.
.bull
Updated wlink to call wlib with the -c (case sensitive) option when
creating import libraries. This fixes problems with DLLs that export
symbols differring only in case.
.bull
The C runtime library has been optimized to produce smaller
executables.
.bull
The printf() function now supports the "ll" format specifier for
"long long" integers.
.bull
The printf() function has been enhanced to support %b format specifier
for bitfields.
.bull
Execution order of C library termination routines is now better
defined to prevent instances where temporary files created through
mktemp() could be left behind.
.bull
[OS/2 32-bit] To prevent crashes, termination code is not run if second
instance of a DLL failed to load due to single DGROUP.
.bull
[OS/2 32-bit] The __grow_handles() function was incorrectly adding n
requested handles to existing limit instead of setting the limit to n.
.bull
[OS/2 32-bit] Fixed a problem with _STACKLOW in multithreaded programs
and DLLs. This prevents crashes where Fortran DLLs would run out of stack.
.bull
[OS/2 16-bit] Fixed default math exception handler which wasn't popping
the FP status word off the stack and would therefore crash on exit.
.bull
The Win32 Image Editor has been enhanced with drag-and-drop support.
.bull
The IDE has been fixed to properly handle mixed case filenames.
.bull
The Microsoft compatibility tools (NMAKE, CL) have been fixed to better
handle command line arguments.
.bull
The Dialog Editor (wde) has been fixed to prevent occasional DDE related
crashes when run from inside the Resource Editor (wre).
.bull
The 'Change font' option no longer crashes the GUI debugger (wdw).
.bull
On OS/2, wdw now intercepts the F10 key instead of passing it on
to the system.
.bull
The code generator now deletes object files if it was interrupted.
Previously zero-length invalid object files could be left behind,
interfering with make operation.
.bull
The wasm assembler has been enhanced to generate file dependency information
usable by wmake.
.bull
Numerous minor fixes have been made to wasm.
.bull
Compatibility with MASM 6 has been improved with wasm.
.bull
Support for sysenter and sysexit instructions has been added to wasm
and wdis.
.bull
Disassembly of xchg and bound instructions has been fixed in wdis
(corrected order of operands).
.bull
Several previously undocumented wmake directives have been documented.
.bull
A -sn ('noisy') option has been added to wmake to print all commands
that wmake executes, including silent ones.
.bull
The w32api project has been updated to the latest version.
.bull
The os2api project has been enhanced - added multimedia headers and
libraries and numerous fixes have been made to the header files.
.bull
The debugger now supports the F7 key as a shortcut for "run to cursor".
This is consistent with CodeView.
.bull
New internal variable dbg$ntid (next thread id) has been added to the
debugger. This permits automated iteration of all threads.
.bull
The wsample tool has been updated to dynamically allocate storage for
command line, where previously the command line length was limited to
128 characters.
.bull
The FORTRAN compiler has been changed to preserve case of symbols with
linkage other than FORTRAN. This is especially helpful when calling OS
API functions and using case sensitive link step (now default).
.endbull
.*
.*
.section Differences from Open Watcom Version 1.0
.*
.np
A number of problems has been corrected in &product 1.1.
.begbull
.bull
Using the -ol option (loop optimization) sometimes resulted in generation
of incorrect code.
.bull
The
.kw printf()
function could access too much data when formatting strings, causing page
faults.
.bull
NANs, INFs and denormals were not handled correctly by the math emulation
library.
.bull
The assembler did not generate implicit segment override prefixes when
accessing data in code segment.
.bull
The
.kw clock()
function sometimes produced incorrect results on OS/2 if the
.mono TZ
environment variable was set.
.bull
The Open Watcom editor (vi/viw) has been changed to store temporary files in directory
designated by the
.mono TMP
environment variable, instead of using the
.mono TMPDIR
environment variable.
.bull
Many packaging problems (missing files) have been resolved.
.endbull
.*
.*
.section Differences from Version 11.0
.*
.np
&product 1.0 is not substantially different from Watcom &lang
version 11.0. There are however several changes that may require you
to change your source and/or makefiles or project files.
.begbull
.bull
The C compiler now implements stricter function prototype processing. This
may result in new warning or error messages on code that was previously
compiling cleanly but contained mismatches between function prototypes
and actual definitions. The C++ compiler did not have this problem.
.bull
The linker now defaults to case sensitive symbol resolution. In most
cases this is not a problem and may in fact avoid certain problems.
If your project relies on case insensitive linking, please add
.kw OPTION NOCASEEX
to your linker directives.
.bull
Default windowing support has been removed from the runtime libraries.
.bull
Components of the Win32 SDK and OS/2 Toolkits are no longer supplied.
.bull
MFC libraries, source code and documentation are no longer supplied.
.endbull
.if &version ge 110 .do begin
.*
.section Changes in 11.0 that may Require Recompilation
.*
.np
Do not attempt to mix object code generated by earlier versions of the
compilers with object code generated by this release or with the
libraries provided in this release.
.np
A new C++ object model has been implemented.
If you have undefined references to
.mono __wcpp_3_*
names, you have old object code.
If you have undefined references to
.mono __wcpp_4_*,
you have old libraries and new object code.
.begnote
.note clock()
The
.kw clock
function accuracy has changed from 100 ticks per second to 1000 ticks
per second (i.e.,
.kw CLOCKS_PER_SEC
has changed). Source code that
uses the
.kw clock
function and
.kw CLOCKS_PER_SEC
in its calculations must be recompiled before linking the application
with new libraries.
.endnote
.*
.section Major Differences from Version 10.6
.*
.np
The following sections summarize the major differences from the
previous release.
.begbull
.bull
In general, we have improved Microsoft compatibility in our compilers
(more warnings instead of errors, support for MS extensions, etc.) and
tools.
.bull
Some of the Win32 and 32-bit OS/2 versions of our tools are now
available in DLL form.
.millust begin
EXE DLL Description
------ ------- -----------------------
wcc wccd 16-bit x86 C compiler
wcc386 wccd386 32-bit x86 C compiler
:cmt. wccaxp wccdaxp Alpha AXP C compiler
wpp wppdi86 16-bit x86 C++ compiler
wpp386 wppd386 32-bit x86 C++ compiler
:cmt. wppaxp wppdaxp Alpha AXP C++ compiler
wlink wlink &lnkname
wlib wlibd &libname
.millust end
.np
This provides better performance when using the &ide or &makname..
See the description of the
.mono !loaddll
preprocessing directive in &makname for more information.
:cmt. .bull
:cmt. The Win32 version of our tools can be used (hosted) under both Intel
:cmt. and DEC Alpha AXP platforms
:cmt. and can create Win32 applications (targets) for both Intel or DEC
:cmt. Alpha AXP platforms.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -