It would be great it the exported symbols of hash.h could be migrated to a
version with an objc_ prefix.  There are currently name collistions with some
versions of the mysqlclient library.  If someone can propose a migration
strategy I can provide a patch.  My guess would be along the lines of:

hash.h
#define hash_func objc_hash_func
export void objc_hash_func(void)

hash.c
void objc_hash_func(void) {...}
void hash_func { log?("deprecated"); objc_hash_func(); }
/* for binary compatibility for a limited time.  */

-- 
           Summary: name collisions libobjc/libmysqlclient
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libobjc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: d dot ayers at inode dot at
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19024

Reply via email to