Bug #11153 Ambiguous call to overloaded function, acording to Visual Studio 6
Submitted: 8 Jun 2005 1:56 Modified: 10 Jun 2005 18:03
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:5.0.7-pre OS:Windows (Windows)
Assigned to: Ramil Kalimullin CPU Architecture:Any

[8 Jun 2005 1:56] Kent Boortz
Description:
On Windows using Visual Studio 6, the line

  unit->global_parameters->select_limit= new Item_int(1);

gives the error message

  sql\item_subselect.cpp(604) : error C2668: 'Item_int::Item_int' : 
                                              ambiguous call to overloaded function

Also the compilation of "sql_yacc.yy" fails the same way

  sql_yacc.yy(7988) : error C2668: 'Item_int::Item_int' : 
                                ambiguous call to overloaded function

How to repeat:
Compile current 5.0.7-pre sources on Windows with Visual Studio 6
[8 Jun 2005 6:37] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/25740
[8 Jun 2005 6:55] Ramil Kalimullin
Fixed in 5.0.7
[10 Jun 2005 18:03] Paul DuBois
Noted in 5.0.7 changelog.