Bug #11153 Ambiguous call to overloaded function, acording to Visual Studio 6
Submitted: 8 Jun 2005 3:56 Modified: 10 Jun 2005 20:03
Reporter: Kent Boortz
Status: Closed
Category:Server: Compiling Severity:S1 (Critical)
Version:5.0.7-pre OS:Microsoft Windows (Windows)
Assigned to: Ramil Kalimullin Target Version:

[8 Jun 2005 3: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 8: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 8:55] Ramil Kalimullin
Fixed in 5.0.7
[10 Jun 2005 20:03] Paul DuBois
Noted in 5.0.7 changelog.