Skip to content

Getting unqualified-id when using standalone includes #33

@levongh

Description

@levongh

Please fill in the following fields:

Firebase C++ SDK version: 6.7.0
Firebase plugins in use (Auth, Database, etc.): app
Additional SDKs you are using (Facebook, AdMob, etc.):
Platform you are using the C++ SDK on (Mac, Windows, or Linux): Linux
Platform you are targeting (iOS, Android, and/or desktop): decktop

Please describe the issue here:

added include to project
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/firebase/)

Here is the code to reproduce
#include "firebase/app.h"

int main()
{

return 0;
}

firebase/firebase/variant.h:357:18: error: expected unqualified-id before numeric constant
static Variant False() { return Variant::FromBool(false); }
^
firebase/firebase/variant.h:362:18: error: expected unqualified-id before numeric constant
static Variant True() { return Variant::FromBool(true); }

Please answer the following, if applicable:

What's the issue repro rate? (eg 100%, 1/5 etc) 5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions