[Info-vax] C... the only winning move is not to play...

Chris Scheers chris at applied-synergy.com
Mon Feb 10 20:13:35 EST 2014


VAXman- @SendSpamHere.ORG wrote:
> In article <52f844d6$0$53720$c3e8da3$14a0410e at news.astraweb.com>, JF Mezei <jfmezei.spamnot at vaxination.ca> writes:
>> On 14-02-09 21:09, VAXman- @SendSpamHere.ORG wrote:
>>
>>> Grrr... I have to build against VMS version variants back to V7.2 for this
>>> particular project.
>> Do a "diff" on the faulty header on multiple versions to see if anything
>> significant has changed between versions for ANY function in that
>> header.  If not, then you are safe in creating your own local copy that
>> you include instead of the one from the faulty system library.
>>
>> Remember that the function prototypes only exist to please the
>> compiler's syntax checking. I doubt very much that it changes generated
>> code.
> 
> Correct.  However, I'm #include'ing the OpenVMS system supplied prototype
> definitions with are WRONG!  The problem has been remedied with V8.* but
> they're farked pre-V8.*.

My usual solution to these types of problems is to copy the correct 
prototype file from the later system and put it in the include path.

This isn't a C specific problem.  I have also had it with FORTRAN and 
(IIRC) Ada.

-- 
-----------------------------------------------------------------------
Chris Scheers, Applied Synergy, Inc.

Voice: 817-237-3360            Internet: chris at applied-synergy.com
   Fax: 817-237-3074



More information about the Info-vax mailing list