[Info-vax] C... the only winning move is not to play...
JF Mezei
jfmezei.spamnot at vaxination.ca
Sun Feb 9 19:09:12 EST 2014
On 14-02-09 18:17, VAXman- @SendSpamHere.ORG wrote:
> I've encountered a VMS library call prototype that is incorrect.
Since there are no new versions of VMS coming, it is probably quite safe
to simply edit the library module to correct the error.
Another way is to extrac the fault module to a local file. Correct it.
And your program #includes your local corrected copy instead of the
system provided one. Note that you want to do the #include early in case
it is included by other modules which might include the system library
copy if they don't see the symbols that signify the module was already
included.
> How can
> I override/overwrite the prototype in my source to make it correct?
If you try to redefine it, the compiler will complain about duplicate
and conflicting fiunction prototypes. I am not sure you can "#undef" a
function prototype as you can a simple symbol.
More information about the Info-vax
mailing list