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

JF Mezei jfmezei.spamnot at vaxination.ca
Sun Feb 9 22:17:41 EST 2014


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.

One suggestion which I have not checked/tested.

If you can't redefine SYS$BINTIM(), try this:

VAXMAN$BINTIN(int *binary, struct dsc$w_descriptor *string_time);
#define VAXMAN$BINTIM SYS$BINTIM

This might might work if the compiler does the function prototype
checking before symbol substitution. Again, untested.






More information about the Info-vax mailing list