Skip to content

Warnings during compilation of REACT-CPP and applications using it #14

Description

@mniestroj

Warnings during compilation of REACT-CPP

In file included from ./includes.h:8:0, from watchers/read.cpp:6: watchers/read.cpp: In member function ‘void React::ReadWatcher::initialize(int)’: watchers/read.cpp:36:5: note: candidate 1: operator|(int, int) <built-in> ev_io_init(&_watcher, onActive, fd, EV_READ); ^ In file included from ./includes.h:29:0, from watchers/read.cpp:6: ./../include/uint128_t.h:290:25: note: candidate 2: T operator|(const T&, const uint128_t&) [with T = <anonymous enum>] template <typename T> T operator|(const T & lhs, const uint128_t & rhs){

In file included from ./includes.h:8:0, from watchers/write.cpp:6: watchers/write.cpp: In member function ‘void React::WriteWatcher::initialize(int)’: watchers/write.cpp:35:5: note: candidate 1: operator|(int, int) <built-in> ev_io_init(&_watcher, onActive, fd, EV_WRITE); ^ In file included from ./includes.h:29:0, from watchers/write.cpp:6: ./../include/uint128_t.h:290:25: note: candidate 2: T operator|(const T&, const uint128_t&) [with T = <anonymous enum>] template <typename T> T operator|(const T & lhs, const uint128_t & rhs){

In file included from ./includes.h:8:0, from watchers/read.cpp:6: watchers/read.cpp: In member function ‘void React::ReadWatcher::initialize(int)’: watchers/read.cpp:36:5: note: candidate 1: operator|(int, int) <built-in> ev_io_init(&_watcher, onActive, fd, EV_READ); ^ In file included from ./includes.h:29:0, from watchers/read.cpp:6: ./../include/uint128_t.h:290:25: note: candidate 2: T operator|(const T&, const uint128_t&) [with T = <anonymous enum>] template <typename T> T operator|(const T & lhs, const uint128_t & rhs){

In file included from ./includes.h:8:0, from watchers/write.cpp:6: watchers/write.cpp: In member function ‘void React::WriteWatcher::initialize(int)’: watchers/write.cpp:35:5: note: candidate 1: operator|(int, int) <built-in> ev_io_init(&_watcher, onActive, fd, EV_WRITE); ^ In file included from ./includes.h:29:0, from watchers/write.cpp:6: ./../include/uint128_t.h:290:25: note: candidate 2: T operator|(const T&, const uint128_t&) [with T = <anonymous enum>] template <typename T> T operator|(const T & lhs, const uint128_t & rhs){

During compilation of other software that uses reactcpp that also causes warnings.

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