[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/akonadi/kmime
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2010-12-06 14:42:38
Message-ID: 20101206144238.8AAA4AC8A4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1204263 by wstephens:

Build with enable-final; global symbols with the same name in the same
directory become part of the same compilation unit with
enable-final and fail.


 M  +2 -2      addressattribute.cpp  
 M  +2 -2      attributeregistrar.cpp  


--- trunk/KDE/kdepimlibs/akonadi/kmime/addressattribute.cpp #1204262:1204263
@@ -130,13 +130,13 @@
 // Register the attribute when the library is loaded.
 namespace {
 
-bool dummy()
+bool address_dummy()
 {
   using namespace Akonadi;
   AttributeFactory::registerAttribute<AddressAttribute>();
   return true;
 }
 
-const bool registered = dummy();
+const bool address_registered = address_dummy();
 
 }
--- trunk/KDE/kdepimlibs/akonadi/kmime/attributeregistrar.cpp #1204262:1204263
@@ -25,14 +25,14 @@
 namespace {
 
 // Anonymous namespace; function is invisible outside this file.
-bool dummy()
+bool messagefolder_dummy()
 {
   Akonadi::AttributeFactory::registerAttribute<Akonadi::MessageFolderAttribute>();
   return true;
 }
 
 // Called when this library is loaded.
-const bool registered = dummy();
+const bool registered = messagefolder_dummy();
 
 } // namespace
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic