Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Compilation error for compression mini app on OSX #85

@pramodk

Description

@pramodk

Hello,

When I try to compile mini app on OSX with Clang, I see :

[ 46%] Building CXX object neuromapp/keyvalue/CMakeFiles/MPI_Exec_kv.dir/mpiexec.cpp.o
In file included from /Users/kumbhar/Downloads/neuromapp/test/compression/block_reading.cpp:16:
/Users/kumbhar/Downloads/neuromapp/neuromapp/compression/allocator.h:105:13: error: unknown type name 'constexpr'
            constexpr static char policy_name[] = "cstandard";
            ^
/Users/kumbhar/Downloads/neuromapp/neuromapp/compression/allocator.h:105:23: error: expected member name or ';' after declaration specifiers
            constexpr static char policy_name[] = "cstandard";
            ~~~~~~~~~ ^
/Users/kumbhar/Downloads/neuromapp/neuromapp/compression/allocator.h:49:88: error: use of enumeration in a nested name specifier is a C++11 extension
      [-Werror,-Wc++11-extensions]
                    throw cpu_memory_allocation("negative size, cpu cstandard policy", lengine_error::NEUROMAPP_BAD_ARG);
                                                                                       ^
/Users/kumbhar/Downloads/neuromapp/neuromapp/compression/allocator.h:51:84: error: use of enumeration in a nested name specifier is a C++11 extension
      [-Werror,-Wc++11-extensions]
                    throw cpu_memory_allocation("null size, cpu cstandard policy", lengine_error::NEUROMAPP_BAD_ARG);
                                                                                   ^
/Users/kumbhar/Downloads/neuromapp/neuromapp/compression/allocator.h:201:13: error: unknown type name 'constexpr'
            constexpr static char policy_name[] = "align";
            ^
/Users/kumbhar/Downloads/neuromapp/neuromapp/compression/allocator.h:201:23: error: expected member name or ';' after declaration specifiers

In #84 I will just update README with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions