On Thu, Apr 28, 2011 at 12:46 AM, Arnt Karlsen <a...@c2i.net> wrote:
> On Wed, 27 Apr 2011 15:13:21 +0200, Geoff wrote in message
> <1303910001.6472.18.camel@DELL02>:
>
> ..if you bother to try that approach with my post to the list,
> you may see I addressed the list with this implied question:
> In file included from component.cxx:4:0:
> component.hxx:191:28: error: reference ‘_table_manager’ cannot be
> declared ‘mutable’ [-fpermissive]
>
> ..which I don't yet know how to fix.

After a quick glance at the code I don't see why the mutable is needed
there. Just remove that keyword. You could of course also use the
-fpermissive switch as indicated by the error message. While that
wouldn't actually fix the problem but it would get you a successful
build.

>> You know this will get quite BORING if you keep telling
>> us about gcc 4.6 problems, if it is in fact a gcc
>> problem...

It isn't a gcc problem. It should not have worked *EVER*. It's just
that gcc is being updated to detect more and more illegal things.

>> Is it that a definition of a NULL has been removed from
>> some standard headers, or is it really just gcc/g++ being
>> picky?

NULL has never been officially defined in any C++ header that I know.
So code that relies on that is broken.

-- 
Csaba/Jester

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to