Skip to content

Macros like 'major' still leak, or are protected too aggressively #272

@eddelbuettel

Description

@eddelbuettel

We had thought #227 was taken care of, but apparently not.

Fuller discussion is on rcpp-devel with full example leading to

RcppExports.cpp: In function ‘SEXPREC* majortest_rcpp_hello_world(SEXP)’:
RcppExports.cpp:15:44: error: ‘major’ was not declared in this scope
     __result = Rcpp::wrap(rcpp_hello_world(major));

so it looks like major may be undefined even when it wasn't a macro?

@kevinushey : do you spare cycles to tackle this, again? Or do we just shake our head and call it a documentation issue about symbols to be avoided?

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