[MDEV-6834] Compilation error on Windows Visual Studio 2008 Created: 2014-10-03  Updated: 2014-11-10  Resolved: 2014-11-10

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - XtraDB
Affects Version/s: 10.0.14
Fix Version/s: 10.0.15

Type: Bug Priority: Critical
Reporter: Olivier Bertrand Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: plugins
Environment:

Windows 7



 Description   

After pulling the new version, generating the solution on Windows with MS Studio 2008 failed:

1>------ Début de la génération : Projet : xtradb, Configuration : Debug Win32 ------
1>Compilation en cours...
1>row0mysql.cc
1>handler0alter.cc
1>.\row\row0mysql.cc(2859) : error C2440: 'initialisation' : impossible de convertir de 'std::_Tree<_Traits>::const_iterator' en 'std::_Tree<_Traits>::iterator'
1>        with
1>        [
1> _Traits=std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,false>
1>        ]
1>        Aucun constructeur n'a pu prendre le type de source, ou la résolution de la surcharge du constructeur était ambiguë
1>.\handler\handler0alter.cc(2241) : error C2440: 'initialisation' : impossible de convertir de 'std::_Tree<_Traits>::const_iterator' en 'std::_Tree<_Traits>::iterator'
1>        with
1>        [
1> _Traits=std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,false>
1>        ]
1>        Aucun constructeur n'a pu prendre le type de source, ou la résolution de la surcharge du constructeur était ambiguë
1>.\handler\handler0alter.cc(2279) : error C2440: 'initialisation' : impossible de convertir de 'std::_Tree<_Traits>::const_iterator' en 'std::_Tree<_Traits>::iterator'
1>        with
1>        [
1> _Traits=std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,false>
1>        ]
1>        Aucun constructeur n'a pu prendre le type de source, ou la résolution de la surcharge du constructeur était ambiguë
1>.\handler\handler0alter.cc(2670) : warning C4305: 'return' : troncation de 'int' à 'bool'
1>.\handler\handler0alter.cc(3390) : warning C4305: 'return' : troncation de 'int' à 'bool'
1>.\handler\handler0alter.cc(4465) : error C2440: 'initialisation' : impossible de convertir de 'std::_Tree<_Traits>::const_iterator' en 'std::_Tree<_Traits>::iterator'
1>        with
1>        [
1> _Traits=std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,false>
1>        ]
1>        Aucun constructeur n'a pu prendre le type de source, ou la résolution de la surcharge du constructeur était ambiguë
1>.\handler\handler0alter.cc(4501) : error C2440: 'initialisation' : impossible de convertir de 'std::_Tree<_Traits>::const_iterator' en 'std::_Tree<_Traits>::iterator'
1>        with
1>        [
1> _Traits=std::_Tset_traits<dict_foreign_t *,dict_foreign_compare,std::allocator<dict_foreign_t *>,false>
1>        ]
1>        Aucun constructeur n'a pu prendre le type de source, ou la résolution de la surcharge du constructeur était ambiguë
1>Le journal de génération a été enregistré à l'emplacement "file://d:\CommonSource\mariadb-10.0.5\10.0-connect\storage\xtradb\xtradb.dir\Debug\BuildLog.htm"
1>xtradb - 5 erreur(s), 2 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 26 mis à jour, 0 a été ignoré ==========

The problem seems that converting

'std::_Tree<_Traits>::const_iterator' to 'std::_Tree<_Traits>::iterator'

is impossible.


Generated at Thu Feb 08 07:14:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.