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

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Tue Feb 11 15:58:49 EST 2014


In article <lddp9a$4ba$1 at dont-email.me>, Chris Scheers <chris at applied-synergy.com> writes:
>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.

C just need a new #pragma:

The current default being:

#pragma string_typing weak_minds

and replaceable with:

#pragma strong_typing do_what_you_want_with_the_others_just_leave_me_alone

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

Well I speak to machines with the voice of humanity.



More information about the Info-vax mailing list