This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Clean up cpplib's internal namespace
- To: Zack Weinberg <zack at wolery dot cumb dot org>
- Subject: Re: Clean up cpplib's internal namespace
- From: Philipp Thomas <pthomas at suse dot de>
- Date: Sun, 12 Mar 2000 23:52:50 +0100
- Cc: gcc at gcc dot gnu dot org
- References: <20000307125503.A28045@wolery.cumb.org>
* 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