Porting Questions
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Wed Jun 27 15:53:00 GMT 2001
Phil Edwards <pedwards@disaster.jaj.com> writes:
| Rather than additional macros, I'd recommend leaving the builtins spelled
| as they are
That is certainly my opinion.
| Good, since (void*)0 is an invalid definition for NULL. I hope we're not
| doing that anywhere in libstdc++.
GCC as a magic treatment for NULL.
| GCC defines a magic __null for precisely these reasons... there's an example
| of how to define a magic NULL in userland on the libstdc++ website, but
| it needs an empty default ctor added.
I won't recommand that solution.
| Can't help you there, unfortunately. After the discussion involving
| definitions, specializations, instantiations, and AIX freaky-weirdness,
| my understanding of templates has regressed. I don't think I understand
| them anymore. :-)
It is basically a non friendly linker issue. But the discussion was
confused because of some misunderstanding about C++ notions.
-- Gaby
More information about the Libstdc++
mailing list