Skip to content

regex in OptionParser prevents compilation from old versions of g++ #39

Open
@guilhermesena1

Description

@guilhermesena1

gcc/g++ 4.8.5 is the default g++ compiler in many operating systems, including ubuntu, osx and centos. Many users of smithlab software don't have superuser access to install a more recent version, and we shouldn't require someone to upgrade their g++ just to install these tools.

If we remove the regex functions from OptionParser, smithlab_cpp compiles successfully. Most regex functions have to do with cleaning trailing whitespaces, which we can easily reimplement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions