John Markunas writes:
 > Hi
 >      Tru64 Compile errors.
 > 
 >      Running V4.x Tru64 gcc 2.95.2 gnumake 3.x attempting build of
 > 
 >      mysql 3.23.32 or 3.23.33
 > 
 >      Getting error
 > 
 >      sql_string.cc: In Method 'bool string::(double,unsigned int=2)' :
 >      sql_string.cc:181 Implicit declaration of function 'int snprintf(...)'
 > 
 >      Some user from this suggested changing snprintf to sprintf. When I look at
 > source
 > code in ../client/sql_string.cc is see a conditional compilation statement
 > 
 > ifdef HAVE_SNPRINTF
 > 
 >      Can any one ( hopefully a mysql developer ) help me with this ? Or do I
 > indeed
 > change all references to snprintf.
 > 
 >      I'll bet this problem just manifests itself on Tru64 !!
 > 
 > Thank you very very much
 > 
 > John Markunas
 > Williams College
 > 
 > 


Hi!

Just change config.h and my_config.h to #undef HAVE_SNPRINTF.

Do not change snprintf to sprintf !!


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
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

Reply via email to