groue / groue/GRMustache

Can't import GRMustache.h in a .mm Objective-C++ file

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
1.4k
Forks
188
PR merge metrics
No merged PRs in 30d

Description

If I try to import this library in a .mm file I get this error when compling

/Pods/Headers/Public/GRMustache/GRMustacheTag.h:60:116: Cannot initialize a variable of type 'const GRMustacheTagType' with an rvalue of type 'int'

I'm using the latest version
Probably related to https://github.com/groue/GRMustache/issues/57

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the import in an Objective-C++ (.mm) file and inspect GRMustacheTag.h around line 60, where the compiler reports the type error. Compare this with the related issue 57 and verify that importing GRMustache.h in a .mm file compiles without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c
Domain
desktop-dev, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.