Skip to content

when using nfllib on mac, some errors occurred #45

@ifeelok92

Description

@ifeelok92

previously, make test, everything is ok.
but when i run a program that use this nfllib, some error occurs:

In file included from /Users/xietiany/nfllib/include/nfl/poly.hpp:26:
/Users/xietiany/nfllib/include/nfl/ops.hpp:257:60: error: too many arguments
provided to function-like macro invocation
auto make_op(Args const&... args) -> decltype(_make_op<Op, Args...>{}(args...))
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:609:11: note:
macro 'decltype' defined here

define decltype(__x) __decltype(__x)

      ^

In file included from src/main.cpp:7:
In file included from src/ibe/user.hpp:7:
In file included from src/params.hpp:8:
In file included from /Users/xietiany/nfllib/include/nfl.hpp:17:
/Users/xietiany/nfllib/include/nfl/poly.hpp:346:1: error: too many arguments
provided to function-like macro invocation
DECLARE_BINARY_OPERATOR(operator-, submod)
^

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