OPTIONAL is already defined in windef.h. At the top of
extension_set.cc, add this:

#ifdef UNDER_CE
#ifdef OPTIONAL
#undef OPTIONAL
#endif
#endif

On Oct 30, 3:53 am, menuthaur <menuth...@gmx.de> wrote:
> Hello,
>
> I try to compile protobuf for Windows CE (ARM4I) and I stumbled upon a
> compilation error
> "error C2059 : Syntax error : ')'" in extension_set.cc.
>
> After some research i found out that the define OPTIONAL is not
> existent for windows ce.
>
> Can somebody help me with this define?
> Can someone explain me why this define is used?
> Is there a possible workaround?
>
> Regards,
>
> menuthaur
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to