Skip to content

Failure on ubuntu 32 after latest lands #337

Closed
@mhdawson

Description

@mhdawson

First guess is that may have been caused by:#315 as I don't see changes in the napi-inl.h on line 798

https://ci.nodejs.org/view/x%20-%20Abi%20stable%20module%20API/job/node-test-node-addon-api/MACHINE=ubuntu1404-32/675/console

  CXX(target) Release/obj.target/binding/object/set_property.o
../object/object.cc: In function 'Napi::Value CreateObjectUsingMagic(const Napi::CallbackInfo&)':
../object/object.cc:129:6: error: ambiguous overload for 'operator[]' (operand types are 'Napi::Object' and 'int')
   obj[42] = 120;
      ^
../object/object.cc:129:6: note: candidates are:
../object/object.cc:129:6: note: operator[](napi_value, int) <built-in>
In file included from /home/iojs/build/workspace/node-test-node-addon-api/MACHINE/ubuntu1404-32/node-addon-api/napi.h:1564:0,
                 from ../object/object.cc:1:
/home/iojs/build/workspace/node-test-node-addon-api/MACHINE/ubuntu1404-32/node-addon-api/napi-inl.h:786:41: note: Napi::Object::PropertyLValue<unsigned int> Napi::Object::operator[](uint32_t)
 inline Object::PropertyLValue<uint32_t> Object::operator [](uint32_t index) {
                                         ^
/home/iojs/build/workspace/node-test-node-addon-api/MACHINE/ubuntu1404-32/node-addon-api/napi-inl.h:798:14: note: Napi::Value Napi::Object::operator[](uint32_t) const
 inline Value Object::operator [](uint32_t index) const {
              ^
make: *** [Release/obj.target/binding/object/object.o] Error 1
make: *** Waiting for unfinished jobs....

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