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


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

Re: Porting Questions


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


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