On Feb 4, 2010, at 21:49 , hap 497 wrote:
I am getting the following error saying '‘dynamic_cast’ not permitted
with -fno-rtti'. Is there a way to configure protobuf not to use
dynamic_cast?
/usr/local/include/google/protobuf/generated_message_reflection.h:
This header file reads:
// If you need to compile without RTTI, simply #define
GOOGLE_PROTOBUF_NO_RTTI.
// On MSVC, this should be detected automatically.
So add -DGOOGLE_PROTOBUF_NO_RTTI and it should work?
Evan
--
Evan Jones
http://evanjones.ca/
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/protobuf?hl=en.