On Wednesday 28 November 2007 17:24, Jonathan Wakely wrote:
> On 28/11/2007, Stephane Hockenhull <[EMAIL PROTECTED]> wrote:
> > On Wednesday 28 November 2007 14:01, 'Daniel Jacobowitz' wrote:
> > > On Wed, Nov 28, 2007 at 01:56:58PM -0500, Stephane Hockenhull wrote:
> > > > hence my question: where is it?
> > >
> > > In libstdc++.  You have to link with libstdc++ to use the STL, for
> > > many reasons including this one.
> >
> > is there a way to disable this behaviour for stl templates and have them
> > compiled every time?
> >
> > I can't find a command line option for it.
> >
> > this breaks C++ code using the STL when -fleading-underscore is used,
> > other templates compile and link just fine.
>
> IIRC, -D_GLIBCXX_EXTERN_TEMPLATE=0 might work, but it's neither
> documented nor supported.
>
> Jon

thanks, found it grepping for "extern template"

it does work, worst case if it breaks again we'll stick with the gcc version 
we're currently using until we find some work around :P

-- 
Stephane Hockenhull
SSC-Studios.com

Reply via email to