[Bug c++/63940] New: C++ constexpr errors on AIX
dje at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 18:21:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63940
Bug ID: 63940
Summary: C++ constexpr errors on AIX
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dje at gcc dot gnu.org
Created attachment 34029
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34029&action=edit
Full compiler error output
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31: in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, false, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31: in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, false, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31: in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, true, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31: in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, true, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
More information about the Gcc-bugs
mailing list