We are having a strange problem with 2.6.1 on osx 10.11: when we compile
the protoc output file using clang optimization flags (-O2 or -O1), at
runtime the method MessageLite::ParseFromArray() returns 'false',
indicating a parse error. If we turn off optimization when compiling the
protoc generated file (by using -O0), the method returns 'true' and
everything works as expected.
Is this a known issue with pb 2.6.1 and the clang compiler?
One other mysterious note: the bug only appears when running the app on El
Capitan (10.11), it doesn't happen on Yosemite (10.10). I know, this part
doesn't make sense...
Any info appreciated.
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
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.
For more options, visit https://groups.google.com/d/optout.