List:General Discussion« Previous MessageNext Message »
From:John Markunas Date:February 19 2001 6:54pm
Subject:Compiler errors
View as plain text  
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

Thread
Compiler errorsJohn Markunas19 Feb
  • Re: Compiler errorsSinisa Milivojevic20 Feb