[Info-vax] C... the only winning move is not to play...
Chris Scheers
chris at applied-synergy.com
Tue Feb 11 13:13:22 EST 2014
VAXman- @SendSpamHere.ORG wrote:
>
> The problem is that this code may, someday, be handed off to those for whom
> it's been developed. They may not have mucked with header files to make it
> work. And, who knows what will happen with a compiler update; it might re-
> build the offending header.
>
> [Note] Error checking should be added to your code if/when you use the RTLs
> detailed herein.
I guess I wasn't clear enough. In no way do I recommend copying the
headers from a later system and replacing the "system" headers on the
current system. As you point out, compiler/system updates can change
things on you. This may also break other working builds.
Put the copied headers in a local directory (perhaps the project source
directory) and modify the compile script (via command line, logical
name, etc.) to pick up the local copy before the (possibly incorrect)
system ones.
These copied headers then become part of the project and should be
handed off with the project.
If copyright issues come into play, the hand off instructions should
include information about where to get the correct headers instead of
the headers themselves.
--
-----------------------------------------------------------------------
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