Bug #12050 Overloaded function "Field_date::store" is ambiguous
Submitted: 20 Jul 2005 11:54 Modified: 20 Jul 2005 15:56
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.1.0-alpha OS:Linux (Linux (32 bit))
Assigned to: Jim Winstead CPU Architecture:Any

[20 Jul 2005 11:54] Joerg Bruehe
Description:
The Bootstrap for 5.1.0-alpha failed due to this error:

if ccache gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DDATADIR="\"/usr/local/var\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../storage/bdb/build_unix -I../innobase/include -I../storage/ndb/include -I../storage/ndb/include/ndbapi -I../include -I../include -I../regex -I.     -O3 -DDBUG_OFF -felide-constructors -fno-exceptions -fno-rtti   -fno-implicit-templates -fno-exceptions -fno-rtti  -MT field.o -MD -MP -MF ".deps/field.Tpo" -c -o field.o field.cc; \
then mv -f ".deps/field.Tpo" ".deps/field.Po"; else rm -f ".deps/field.Tpo"; exit 1; fi
field.cc: In member function `virtual int Field_date::store(double)':
field.cc:5203: error: call of overloaded `store(long int&)' is ambiguous
field.cc:5187: error: candidates are: virtual int Field_date::store(double)
field.h:854: error:                 virtual int Field_date::store(long long
   int)
make[4]: *** [field.o] Error 1
make[4]: Leaving directory `/data0/mysqldev/my/mysql-5.1.0-alpha-build/sql'

How to repeat:
Try to compile on 32 bit.
[20 Jul 2005 15:56] Jim Winstead
These problems have already been fixed.