This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libobjc/19024] name collisions libobjc/libmysqlclient
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2005 17:46:10 -0000
- Subject: [Bug libobjc/19024] name collisions libobjc/libmysqlclient
- References: <20041215233656.19024.d.ayers@inode.at>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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