Re: [Maria-developers] Shared plugin library build question
![](https://secure.gravatar.com/avatar/3c2329333dd5898f2e72818af773243d.jpg?s=120&d=mm&r=g)
Hi, Michael! On Nov 09, Michael Widenius wrote:
Hi!
"Vladislav" == Vladislav Vaintroub
writes: <cut>
I think the best option for MySQL, and for MariaDB is to rename own base64.h and function prototypes in a way that it does not conflict with system headers on any system it is meant to be run on. Relying on the include order is fragile, I also do not see how it would not solve the problem with same function name different prototypes - how can we always reliably force use our base64_encode rather than system one ?
Yes, we should rename it to my_base64.h in MySQL 5.5
Serg, can you do that for your next push to 5.5?
Yes, but this is just one of the problems that was mentioned in this thread. I'll wait till the list is complete and 5.5 compiles. Regards, Sergei
participants (1)
-
Sergei Golubchik