Le 20/09/2015 20:06, Georg Baum a écrit :
Jürgen Spitzmüller wrote:
Am Sonntag 20 September 2015, 18:43:33 schrieb Guillaume Munch:
I understand that there are two separate issues:
- There are errors looking like Uwe's if one uses --disable-cxx11,
probably due to my latest patches.
I rather have the impression that c++11 copilation somehow is scrambled
with qt4. I suppose Uwe also compiles against qt4.
I can't confirm that. For me it worked with qt4 and c++11 and after
ec086243df it works also qith qt4 and c++98.
* The issue with --disable-cxx11 should now be fixed as you mention.
* The problem in Windows is again separate from the others (visual
studio has std::make_shared already in c++98).
* I have similar errors as Jürgen and Richard with c++11 & qt4. I have
the errors below with a simple ../configure && make in a fresh build
directory. Git bisect (only for the error below) leads to 41405babc
(2015-01-06 13:53:18 Cleanup support for std::regex with autotools)...
But like you I don't recall having any trouble with c++11 & qt4 in the
past (apart from the warnings). And it would be surprising that after 9
months it is noticed simultaneously like that.
CXX debug.o
In file included from /usr/include/c++/4.9/bits/concept_check.h:55:0,
from /usr/include/c++/4.9/bits/move.h:34,
from /usr/include/c++/4.9/bits/stl_pair.h:59,
from /usr/include/c++/4.9/bits/stl_algobase.h:64,
from /usr/include/c++/4.9/bits/stl_tree.h:61,
from /usr/include/c++/4.9/set:60,
from ../../../src/support/../support/FileName.h:19,
from ../../../src/support/debug.cpp:17:
/usr/include/c++/4.9/bits/boost_concept_check.h: In instantiation of
‘void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp =
std::__detail::_StateSeq<std::regex_traits<char> >]’:
/usr/include/c++/4.9/bits/stl_deque.h:739:7: required from ‘class
std::__cxx1998::deque<std::__detail::_StateSeq<std::regex_traits<char>
>, std::allocator<std::__detail::_StateSeq<std::regex_traits<char> > > >’
/usr/include/c++/4.9/debug/deque:42:11: required from ‘class
std::__debug::deque<std::__detail::_StateSeq<std::regex_traits<char> >,
std::allocator<std::__detail::_StateSeq<std::regex_traits<char> > > >’
/usr/include/c++/4.9/bits/stl_stack.h:102:46: required from ‘class
std::stack<std::__detail::_StateSeq<std::regex_traits<char> >,
std::__debug::deque<std::__detail::_StateSeq<std::regex_traits<char> >,
std::allocator<std::__detail::_StateSeq<std::regex_traits<char> > > > >’
/usr/include/c++/4.9/bits/regex_compiler.h:144:23: required from
‘class std::__detail::_Compiler<std::regex_traits<char> >’
/usr/include/c++/4.9/bits/regex_compiler.h:155:68: required from
‘std::shared_ptr<std::__detail::_NFA<_TraitsT> >
std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const
typename _TraitsT::char_type*, const _TraitsT&,
std::regex_constants::syntax_option_type) [with _TraitsT =
std::regex_traits<char>; typename _TraitsT::char_type = char]’
/usr/include/c++/4.9/bits/regex.h:540:21: required from
‘std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2>
>::basic_regex(_FwdIter, _FwdIter, std::basic_regex<
<template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with
_FwdIter = const char*; _Ch_type = char; _Rx_traits =
std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>,
<template-parameter-1-2> >::flag_type =
std::regex_constants::syntax_option_type]’
/usr/include/c++/4.9/bits/regex.h:452:71: required from
‘std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2>
>::basic_regex(const _Ch_type*, std::basic_regex<
<template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with
_Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex<
<template-parameter-1-1>, <template-parameter-1-2> >::flag_type =
std::regex_constants::syntax_option_type]’
../../../src/support/debug.cpp:205:39: required from here
/usr/include/c++/4.9/bits/boost_concept_check.h:206:11: error: use of
deleted function ‘std::__detail::_StateSeq<std::regex_traits<char> >&
std::__detail::_StateSeq<std::regex_traits<char> >::operator=(const
std::__detail::_StateSeq<std::regex_traits<char> >&)’
__a = __a; // require assignment operator
^
In file included from /usr/include/c++/4.9/regex:57:0,
from ../../../src/support/../support/regex.h:16,
from ../../../src/support/debug.cpp:21:
/usr/include/c++/4.9/bits/regex_automaton.h:265:11: note:
‘std::__detail::_StateSeq<std::regex_traits<char> >&
std::__detail::_StateSeq<std::regex_traits<char> >::operator=(const
std::__detail::_StateSeq<std::regex_traits<char> >&)’ is implicitly
deleted because the default definition would be ill-formed:
class _StateSeq
^
[much more]