Skip to content

Compiler errors; Needs to be compiled with ISO C++ 2011 standard #1

@alinabee

Description

@alinabee

I wasn't able to compile because of the below error:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Fixed by adding the following to CMakeLists.txt:

set (CMAKE_CXX_STANDARD 11)
target_link_libraries(hole_fixer pthread)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions