Skip to content

of::urn user template deduction SWIG syntax error (ofxLua) #8390

@danomatika

Description

@danomatika

From checking ofxLua with the of_v20250319_osx_release nightly:

In ofUtils.h lines 455 - 456, the of::urn user template deduction "->" breaks SWIG completely with a syntax error. I have to comment out those two lines in order to generate the Lua bindings successfully. There is support for C++14 and C++17, but I can't find info that SWIG currently handles this part of C++17 (yet).

Can of::urn be moved to a separate header which is included by ofUtils.h, in which case SWIG would not have to parse that section since it only parses headers given to it explicitly.

My only other option is to maintain a copy of basically the entire header myself without the breaking parts to feed SWIG. Obviously this is not ideal.

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