mysql.cc:2361: error: 'max' was not declared in this scope

eculp at encontacto.net eculp at encontacto.net
Tue May 29 17:06:28 UTC 2007


Finishing my portupgrade marathon, I'm down to mysql update and with  
mysql-client I get the following that I have no idea where to start.   
This is on today's current.

if c++ -DUNDEF_THREADS_HACK  -DDEFAULT_MYSQL_HOME="\"/usr/local\""   
-DDATADIR="\"/var/db/mysql\"" -I. -I. -I.. -I../include  -I../include   
-I../regex       -O2 -fno-strict-aliasing -pipe -O2  
-fno-strict-aliasing -pipe   -felide-constructors -fno-rtti  
-fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti  
-DMYSQLD_NET_RETRY_COUNT=1000000 -MT mysql.o -MD -MP -MF  
".deps/mysql.Tpo" -c -o mysql.o mysql.cc;  then mv -f  
".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo"; exit  
1; fi
mysql.cc: In function 'void print_table_data(MYSQL_RES*)':
mysql.cc:2361: error: 'max' was not declared in this scope
mysql.cc:2363: error: 'max' was not declared in this scope
mysql.cc:2384: error: 'min' was not declared in this scope
*** Error code 1

Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta/client.
*** Error code 1

Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta/client.
*** Error code 1

Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta.
*** Error code 1

Stop in /usr/ports/databases/mysql51-client/work/mysql-5.1.18-beta.
*** Error code 1

Any help, suggestions, even flames, appreciated ;)

Thanks,

ed


More information about the freebsd-ports mailing list