Skip to content

Doesn't compile on Linux with R >= 4.3 #117

@nshrine

Description

@nshrine

Engine.cpp: error: 'Rf_allocLang' was not declared in this scope
In file included from .../R/include/Rdefines.h

Recent R releases have removed or deprecated parts of the old API that GenSA still uses, so the error
comes from the fact that Rdefines.h is considered legacy and no longer fully supported for new code.
Some macros/functions (including Rf_allocLang) are no longer exposed unless very old compatibility flags are set.
New R recommends including Rinternals.h directly and using its constructors and PROTECT discipline.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions