Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Door , , 5 reacties
Bron: Open Watcom

In de zomer van 1965 heeft een groep studenten van de Universiteit van Waterloo in Canada een Fortran-compiler, met de naam WATFOR, ontwikkeld die draaide op een IBM 7040-systeem. Deze compiler was geschreven in WSL en werd ook geschikt gemaakt voor andere systemen zoals de IBM 360 en de DEC PDP-11. Na vele ontwikkelingen, die op deze pagina na te lezen zijn, is het uiteindelijk doorgegroeid tot Open Watcom. Deze opensource compiler kan broncode in C, C++ en Fortran omzetten naar een uitvoerbaar bestand op het DOS-, OS/2- en Windows-platform. De ontwikkelaars hebben afgelopen week versie 1.8 uitgebracht met de volgende aankondiging op de mailinglijst:

Open Watcom v1.8 released

Open Watcom v1.8 has been released. This new version includes significant enhancements to the C++ compiler, new Win32 API headers and libraries, and various other features. Please direct any questions to Open Watcom newsgroups.

List of changes in Open Watcom 1.8:
  • The C compiler now performs stricter type checking on enumerated types. Previously, enums were treated as their underlying type (signed/unsigned char, int, etc.) for type checks.
  • The C compiler now adds location information about enumerated symbols in appropriate diagnostics.
  • The C compiler has been improved with respect to the handling of near/far pointers, especially when converting or comparing pointers and integers of different sizes.
  • The C compiler now properly recognizes functions that do not return, such as longjmp(), and correctly diagnoses control flow issues such as unreachable code or missing return statements.
  • The C compiler now supports a #pragma alias. This pragma emits alias records into the object file for processing by the linker.
  • The C compiler now has larger capacity and can compile some complex source files that previously caused out of memory errors (E1064).
  • The C compiler now always warns about unprototyped functions (W131). Previously, some forgivable instances of missing prototypes were undiagnosed by default, which caused users to write non-portable code usually by accident.
  • Warning W139 (Divisor for modulo or division operation is zero) has been added to the C compiler. This warning is triggered whenever the right operand of an integer division or modulo operation is a constant expression with the value of zero.
  • The handling of pragam aux is now correct in cases where code is emitted and a function body already exists for the corresponding symbolic name.
  • Various fixes to the handling of the include_alias pragma have been made.
  • The C and C++ compilers now have diagnostics for meaningless comparision of 64-bit and bit-field operands.
  • The C and C++ compilers now have conversion tables from CP=1250,1252 (Latin-2,1 for Windows ANSI) to Unicode to support Windows programming.
  • The C++ compiler now supports the explicit specification of function template arguments. For example: f().
  • The C++ compiler now uses lazy instantiation for class templates and template members. Only the members actually used are instantiated.
  • The C++ compiler now allows member templates to be defined outside their class.
  • Numerous bugs in the C++ compiler have been fixed.
  • The C++ compiler allows a class declaration with modifiers to have those modifiers propagate into the class definition.
  • When -SH switch is used with the Fortran compiler, the default size of an integer constant is now INTEGER*2.
  • The Fortran compiler no longer crashes when equivalencing common/global with automatics.
  • Fortran processing for the text record EOL has been normalized. On UNIX systems write/seek uses LF and read uses LF or CRLF. On non-UNIX systems write/seek uses CRLF and read uses LF or CRLF.
  • Various code generation bug fixes to both the 16-bit and 32-bit compilers have been made.
  • The Win32 headers and libraries are now Open Watcom's own internal version. The MinGW headers and libraries are no longer being used. The new headers and libraries provider greater compatibility with the Microsoft SDK and better support for Microsoft Vista.
  • The version of Causeway in the official distribution is now version 4.03.
  • The Linux run time libraries now have recvfrom() and sendto() implementations.
  • A POSIX compatible fnmatch() function and a corresponding fnmatch.h header has been added.
  • The _dos_getfileattr() function no longer crashes in large data models on 16-bit DOS and Windows.
  • The C run time library now has implementations of the following functions to improve compatibility with other compilers: _chmod, _chsize, _creat, _dup2, _eof, _filelength, _isatty, _read, _sopen, _tell, _umask, _unlink, and _write.
  • The date and time arguments to _dos_getftime() and _dos_setftime() are now using 'unsigned int' type instead of 'unsigned short'. This change has been made to improve compatibility with other compilers.
  • The segment argument used with _dos_allocmem(), _dos_freemem() and _dos_setblock() is now unsigned int instead of unsigned short. This change was made for compatibility with other compilers.
  • The Fortran run time environment now works on Linux.
  • The Linux Fortran run time libraries now have FSYSTEM and FSPAWN implementations.
  • The Fortran run time now exposes the saved stack pointer for when crashes occur in the IO subsystems.
  • The debugger's options context menu now has an option to allow all child nodes to be expanded recursively.
  • The debugger now uses the full size of the type when displaying hexadecimal values (for example 0x03 instead of 0x3).
  • The debugger now has a new menu entry to change the display format of all values in an array (all hex or all decimal).
  • The debugger now supports break on write rather than just break on change. The trap must support exact breakpoints for this to happen.
  • The Windows debugger now properly handles quoted program names.
  • The Windows debugger now has proper color support.
  • The NetWare TCP server and trap have been updated for NW6.5SP7 with the latest libcpre.obj file.
  • The DOS real-mode trap file (std.trp) now correctly displays high parts of 32-bit registers on 386+ CPUs. Previously, the high parts were always displayed as zeros.
  • WLIB now has a new -pa option to set up library page size automaticaly to optimal size.
  • WLIB now handles COFF import libraries more correctly.
  • WCL now properly handles the -fd and -fm options without the file name specified.
  • WASM now handles EXTERNDEF directives properly; an EXTDEF record is created only if the symbol is actually referenced.
  • WASM now handles the auto-dependency filename properly.
  • WASM now implicitly creates the __UNIX__ macro for the BSD target as it has for LINUX and QNX.
  • The internal version numbers for WASM and WMAKE are now compatible with that used by the C and C++ compilers. Specifically the macro __WASM__ has the value 1280 for WASM and the macro __VERSION__ has the value 1280 for WMAKE.
  • The 32-bit DOS WD and WPROF can now be used with DOS/4G 2.x. The DOS4GOPTIONS settings are no longer exported. Users may still override the defaults by supplying their own wd.ini and wprof.ini, respectively. These files must be in the appropriate format for the DOS/4G version used. Note that this does not affect DOS/4GW users.
  • WLINK now handles offsets and groups larger than 64 KB for 32 bit code and 16 bit targets.
  • WLINK now ignores fixup displacement when the target relocation is absolute. This is required for compatibility with object files generated by MASM 5.1.
  • WLINK now properly handles the alignment of the last segment in a group if the last segment fragment is blank.
  • WLINK can now use the WLINK_LNK environment variable to override the default directive file name (wlink.lnk). If the specified file isn't found then the default file is used as usual.
  • WLINK now properly emits segments overlaped by groups to output file.
  • WLINK now properly handles imported symbols that are locally defined with the dllimport specifier in PE formatted files.
  • WRC on Far-Eastern NT-based systems now honors the DBCS encoding specified on the command line.
  • The text editor now supports syntax highlighting for resource files.
  • The Fgrep dialog box in graphical editor now has a browse button to display the standard browse for folder dialog box on versions of Windows that support it.
  • The ide2make utility has been added to the Open Watcom distribution. This utility converts IDE project files to make files.
  • The exe2bin utility now performs properly if relocation items are unsorted.
  • The installer now generates a batch file that automatically sets the environment variables used by the Open Watcom tools.
Versienummer:1.8
Releasestatus:Final
Besturingssystemen:Windows 2000, Windows XP, DOS, OS/2, Windows Server 2003, Windows Vista, Windows Server 2008
Website:Open Watcom
Download:http://www.openwatcom.org/index.php/Download
Licentietype:Voorwaarden (GNU/BSD/etc.)
Moderatie-faq Wijzig weergave

Reacties (5)

reminds me ..
IBM AS-400 ... wat haardroger zat er in de bak (fan)

wel mooie (en knappe) ontwikkelign dat men dit heeft gemaakt

[Reactie gewijzigd door himlims_ op 25 februari 2009 16:26]

AS400 (of iSeries tegenwoordig), leeft en tegenwoordig meer dan ooit.
Hoewel ik niet juist begrijp wat OS/400 met dit postje te maken heeft...
Misschien verwart ie de 360 met de 400 serie? (360 is uiteindelijk geŽvolueerd in de huidige zSeries, en is compleet andere architectuur dan iSeries).
Kom hem in quasi elk bedrijf nog altijd tegen :o
Vroeger was de Watcom compiler redelijk populair, en werd veel in de scene gebruikt, voor het bouwen van demo's, evenals Turbo C/C++ .

Is Watcom dat nogsteeds is?

Op dit item kan niet meer gereageerd worden.



Apple iOS 10 Google Pixel Apple iPhone 7 Sony PlayStation VR AMD Radeon RX 480 4GB Battlefield 1 Google Android Nougat Watch Dogs 2

© 1998 - 2016 de Persgroep Online Services B.V. Tweakers vormt samen met o.a. Autotrack en Carsom.nl de Persgroep Online Services B.V. Hosting door True