Skip to content

Nil doesn't work well with macOS, mixed objectivec++ and c++ #1

@dimitre

Description

@dimitre

Hello, it seems Nil is a reserved word in objectivec++
Any workaround, like renaming the Nil? Thanks

/Volumes/tool/ofw/apps/pgd/ofxProjectGenerator/src/uuidxx/src/uuidxx.h:11:3: error: expected identifier
                Nil,
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/objc/objc.h:98:16: note: expanded from macro 'Nil'
#   define Nil nullptr

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