Rob McMahon writes:
> >Description:
> mysqld.cc will not compile with Sun Workshop 6
> CC: Sun WorkShop 6 2000/08/30 C++ 5.1 Patch 109490-01
> Failing with the following errors:
<cut>
> "mysqld.cc", line 1484: Error: Cannot use const char* to initialize char*.
> >>>>char* p = strrchr(opt_name, FN_EXTCHAR);
This is a known issue with Sun compiler, due to different strchr
prototype.
Change that line to :
char* p = strrchr((const char *)opt_name, FN_EXTCHAR);
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php