diff --git a/main.cpp b/main.cpp index e7b6d694a1..e0904f1543 100644 --- a/main.cpp +++ b/main.cpp @@ -249,7 +249,9 @@ Application::Application( ) KSharedConfig::Ptr config = KGlobal::config(); if (!config->isImmutable() && args->isSet("lock")) { +#ifdef __GNUC__ #warning this shouldn not be necessary +#endif //config->setReadOnly(true); config->reparseConfiguration(); } diff --git a/toplevel.cpp b/toplevel.cpp index f6265f3c7d..93aacc6a98 100644 --- a/toplevel.cpp +++ b/toplevel.cpp @@ -149,7 +149,9 @@ NET::WindowType Toplevel::windowType( bool direct, int supported_types ) const if( direct ) return wt; const Client* cl = dynamic_cast< const Client* >( this ); +#ifdef __GNUC__ #warning TODO +#endif // NET::WindowType wt2 = rules()->checkType( wt ); NET::WindowType wt2 = wt; if( wt != wt2 )