Skip to content

Afina падает до main() на CentOS 7 из-за cxxopts #10

@aitap

Description

@aitap
[aitap@centos build]$ git log -1
commit d1673be26c9b0202dd56760c4159bc4c54f9baee
Author: Mikhail Plekhanov <m.plekhanov@crop.mail.ru>
Date:   Wed Oct 4 16:23:55 2017 +0300

    Lecture 4 examples
[aitap@centos build]$ src/afina
terminate called after throwing an instance of 'std::regex_error'
  what():  regex_error
Аварийный останов
[aitap@centos build]$ cat /etc/centos-release
CentOS Linux release 7.4.1708 (Core)
[aitap@centos build]$ g++ --version | head -1
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

third-party/cxxopts-1.4.3/include/cxxopts.hpp, строка 433:

 std::basic_regex<char> integer_pattern
        ("(-)?(0x)?([1-9a-zA-Z][0-9a-zA-Z]*)|(0)");

bt full: http://paste.org.ru/?iqjcey

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions