Le 10/07/2017 à 20:21, Felipe Formiga a écrit :
Hi LMarc
Sorry about my delay.
Thank you very much for your help.
I have tried your suggestion. Now, after "make" commando, a got this
message:
This is related to the following thread:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg194759.html
It seems that the old Qt version was deemed to be the culprit.
FWIW, I append below the streamlined version of the error message posted
by Felipe.
Does anyone have an idea? Joel, any input?
JMarc
In file included from /usr/include/QtCore/QThreadStorage:1,
from sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h: In static member function ‘static
void QThreadStorage<T>::deleteData(void*) [with T = std::map<docstring,
docstring>]’:
/usr/include/QtCore/qthreadstorage.h:136: instantiated from
‘QThreadStorage<T>::QThreadStorage() [with T = std::map<docstring,
docstring>]’
sgml.cpp:140: instantiated from here
/usr/include/QtCore/qthreadstorage.h:133: error: no matching function
for call to ‘std::map<docstring, docstring>::map(void*&)’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:170:
note: candidates are: std::map<_Key, _Tp, _Compare, _Alloc>::map(const
std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = docstring, _Tp =
docstring, _Compare = std::less<docstring >, _Alloc =
std::allocator<std::pair<const docstring, docstring > >]
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:159:
note: std::map<_Key, _Tp, _Compare, _Alloc>::map(const
_Compare&, const _Alloc&) [with _Key = docstring, _Tp = docstring,
_Compare = std::less<docstring >, _Alloc =
std::allocator<std::pair<const docstring, docstring > >]
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:150:
note: std::map<_Key, _Tp, _Compare, _Alloc>::map() [with
_Key = docstring, _Tp = docstring, _Compare = std::less<docstring >,
_Alloc = std::allocator<std::pair<const docstring, docstring > >]
/usr/include/QtCore/qthreadstorage.h: In static member function ‘static
void QThreadStorage<T>::deleteData(void*) [with T = int]’:
/usr/include/QtCore/qthreadstorage.h:136: instantiated from
‘QThreadStorage<T>::QThreadStorage() [with T = int]’
sgml.cpp:141: instantiated from here
/usr/include/QtCore/qthreadstorage.h:133: error: invalid static_cast
from type ‘void*’ to type ‘int’