This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Missing concept check instantiations on sparc-sun-solaris2.8 cross sometimes
On Wed, Jun 11, 2003 at 11:39:27AM -0300, Brad Spencer wrote:
> > Note the "-fno-implicit-templates". Looks like this is in the
> > Makefile.in in the libstdc++-v3 source directory:
>
> I just noticed that there is _also_ a "-fimplicit-templates" argument
> there! Perhaps gcc is taking the first instead of the last setting of
> the flag? It looks like only "-fno-implicit-templates" is specified
> for all of the other objects.
-fno is part of the default flags for all the v3 sources. For the particular
case of concept-inst.cc, we override with the, uh, "-fyes" :-) form.
The options-parsing code will handle the switches in order, i.e., it will
first disable them, then later, will turn them back on.
... hm. You might try compiling that file by hand, by copying and pasting
the long compiler command, but removing the -fno-implicit-templates bit.
If there's any difference at all in the generated symbol list, something
is very wrong.
Phil
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams