Skip to content

Compilation problem with Node 0.12.4 #2

@VirTERM

Description

@VirTERM

Can not install it on CentOS 7 with Node 0.12.4:

make: Entering directory `/usr/local/lib/node_modules/openzwave-shared/build'
CXX(target) Release/obj.target/openzwave_shared/src/openzwave.o
In file included from /usr/local/include/openzwave/aes/aescpp.h:26:0,
from /usr/local/include/openzwave/Driver.h:41,
from /usr/local/include/openzwave/Manager.h:39,
from ../src/openzwave.hpp:29,
from ../src/openzwave.cc:18:
/usr/local/include/openzwave/aes/aes.h:75:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning( disable : 4324 )
^
/usr/local/include/openzwave/aes/aes.h:93:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
#pragma warning( default : 4324 )
^
In file included from ../src/openzwave.cc:18:0:
../src/openzwave.hpp:96:26: error: expected class-name before ‘{’ token
struct OZW : ObjectWrap {
^
../src/openzwave.hpp:97:38: error: ‘Arguments’ does not name a type
static Handlev8::Value New(const Arguments& args);
^
../src/openzwave.hpp:97:49: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handlev8::Value New(const Arguments& args);
^
../src/openzwave.hpp:99:49: error: ‘Arguments’ does not name a type
static Handlev8::Value SetConfigParam(const Arguments& args);
^
../src/openzwave.hpp:99:60: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handlev8::Value SetConfigParam(const Arguments& args);
.......

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