[Predef-contribute] Correction for USL C/UnixWare 7.1.4
Brought to you by:
breese,
tahonermann
From: Scot J. <sco...@sj...> - 2013-07-11 19:59:03
|
Hello, Some corrections on this page: http://sourceforge.net/p/predef/wiki/Compilers/ 1. Under "USL C", "Version" lists Macro as __SCO_VERSION. On UnixWare 7.1.4 with UDK C/C++ compilers it is __SCO_VERSION__ starts and ends with *two* underscores. References; search for "SCO_VERSION": http://uw714doc.sco.com/en/man/html.1/cc.1.html http://uw714doc.sco.com/en/man/html.1C%2B%2B/CC.1C%2B%2B.html 2. In the "Format" column the version is a long int instead of a hex value, per the above man pages: "__SCO_VERSION__ has a constructed long int value of ``VvvYYYYMML'', where ``V'' is the major version of the compiler, ``vv'' the minor version, ``YYYY'' the year of the compiler release, and ``MM'' the month of the compiler release. NOTE: the HTML version's of the man pages incorrectly display the macro name as "_ _SCO_VERSION_ _". The actual name is __SCO_VERSION__ (starts and ends with *two* underscores, no spaces). This is a common formatting bug in many of SCO's HTML-ized man pages and has been reported. 3. Additional USL C examples: USL C __SCO_VERSION__ Notes 3.4 304200805 UnixWare 7.1.4 UDK C++ (CC) 4.2 402200805 UnixWare 7.1.4 UDK C (cc) 4. "EDG C++ Frontend" should be listed before "EKOPath", alphabetically. 5. Additional __EDG_VERSION__ example: EDG C++ __EDG_VERSION__ Note 2.45 245 UnixWare 7.1.4 UDK C++ -scot remove "nospam12" from email to contact me directly. |