This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libobjc/19024] name collisions libobjc/libmysqlclient


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-01 17:46 -------
Here is how I would fix this use objc_hash_* in libobjc and then declare in hash.h, a deperated inline 
functions which call the new functions.  The other thing would be have a new file which has those inline 
functions actually there so we can be still binary compatible.

So:
in hash.h, hash_new becomes objc_hash_new and there would be an inline function called hash_new 
which just calls objc_hash_new.
in hash_compat.c, we have hash_new which just calls objc_hash_new.

What do you think?

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]