From kde-core-devel Wed Nov 28 14:38:56 2001 From: Nikolas Zimmermann Date: Wed, 28 Nov 2001 14:38:56 +0000 To: kde-core-devel Subject: Re: arts HEAD compilation issue X-MARC-Message: https://marc.info/?l=kde-core-devel&m=100695818731811 On Tuesday 27 November 2001 15:10, Bernhard Rosenkraenzer wrote: > I've figured out why arts is compiling for some, but not for others: > > > ../../../arts/mcop/object.h:91: `long int > > > Arts::Object_base::_getObjectID () const' is protected > > > mcopdcopobject.cpp:90: within this context > > This stuff occurs if --enable-final is used only. > > mcopdcopobject.cpp includes a horrible hack: > #define protected public > #include > #undef protected > > In --enable-final mode, this doesn't have any effect because object.h was > included by a different file first, therefore the correct (protected) > definition is there already. > > I've committed an equally ugly workaround to CVS (changed the order of > files in Makefile.am so the crude hack applies with --enable-final), but I > think we need a real fix... > > LLaP > bero Slave Niko is on the way to fix it.. Bye Bye Niko -- Nikolas Zimmermann wildfox@kde.org