delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/21/02:03:48

Date: Tue, 20 Sep 94 22:15:35 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: strange linker behavior
Reply-To: babcock AT cfa DOT harvard DOT edu

> Which is better - 100% ansi/posix conformance, or compatibility with
> other compilers?

Perhaps you can get the best of both worlds by moving the "name space
polluting" routines into a separate library.  Of course, that would lead to
many "I upgraded and now the linker can't find xxx" messages.  Another
possibility would be to rename the offending routines and provide an
oldnames.h file full of things like
  #define delay _delay
Either solution requires first identifying all the invalid names.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019