Comment #9 on issue 119 by j.ignaci...@gmail.com: TYPE_BOOL collides with
I tried several tricks to solve this in the google source, but in the end,
I settled on a #undef in any generated *.pb.cc which triggers a compilation
#undef TYPE_BOOL //avoid collision from Mac OS X's ConditionalMacros.h
Because this collision is not a function call, the trick used in message.h
won't work. Also, because of translation unit/scope issues, #undef'ing and
redefining without breaking one or both of the environments is not trivial.
You received this message because you are subscribed to the Google Groups "Protocol
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.