This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Clean up cpplib's internal namespace


* Zack Weinberg (zack@wolery.cumb.org) [20000307 21:55]:

> This patch renames a bunch of internal but globally visible functions
> so their names all begin with "_cpp_".  This will make life easier for
> users of the library.
> 
> The namespace is not yet perfect, I haven't decided what to do about
> some of the functions exported by cpplib.c.

Wouldn't this be a case of using symbol versioning, at least on those
platforms that support it? I know it wouldn't solve it everywhere, but it
would be start, wouldn't it?

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]