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: Implementation of libc functions in std::


* Bernd Strieder (strieder@student.uni-kl.de) [20000829 19:47]:

> inline math facilities have extern "C" linkage. To be compatible with
> the standard we need them with C++ linkage in namespace std.
> 
> My ideas to solve it are as follows:

Check libstdc++ V3, included in the CVS version of gcc but not enabled by
default because it's still under development. AFAIK, it has shadow headers
that do put the C functions in std:: where required by the ISO C++ standard.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, 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 for 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]