Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with method name Null and Bool #95

Open
GoogleCodeExporter opened this issue May 17, 2015 · 1 comment
Open

Problem with method name Null and Bool #95

GoogleCodeExporter opened this issue May 17, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Writer& Null()                          { Prefix(kNullType);   
WriteNull();            return *this;             }
Writer& Bool(bool b)                    { Prefix(b ? kTrueType : kFalseType); 
WriteBool(b); return *this; }


These two are causing compiletime errors  (GCC 4.7.2)
Renaming all occurences of "Bool" and "Null" solves this problem.

Original issue reported on code.google.com by [email protected] on 4 Jan 2014 at 11:07

@GoogleCodeExporter
Copy link
Author

Can you provide the error message?
Can the unit tests or examples reproduce this?
I suspect there are some macro naming Null and Bool.

Original comment by [email protected] on 30 Jun 2014 at 4:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant