Re: [protobuf] Re: Protobuf on Android 1.6

2010-05-19 Thread Kenton Varda
The warnings are false positives.  Apparently when I wrote the code, I used
a lower warning level than most people do.  As a result, I managed to write
a lot of stuff that produces warnings at higher warning levels.  Fixing
these has been a low priority, but feel free to submit a patch if you are
worried about them.

Using LITE_RUNTIME is definitely the way to go on Android.  In fact, it was
explicitly created with Android in mind.

On Wed, May 19, 2010 at 6:56 AM, Jubei  wrote:

> I've recompiled my .proto file using "option optimize_for =
> LITE_RUNTIME;" as discussed in this thread:
>
> http://groups.google.com/group/protobuf/browse_thread/thread/9963f3aaee112f0b
>
> This time around the classes needed were among the ones without errors
> so my app is running however there were a lot of warnings in the
> com.google.protobuf code which makes me kinda wonder how stable it's
> going to be in the end.
>
> Jubei
>
> On May 18, 10:17 pm, Jubei  wrote:
> > Hello,
> >
> > I am trying to use protocol buffers on Android 1.6. Is it possible? I
> > have added the com.google.protobuf structure in my Android project but
> > it fails to compile with multiple errors on many areas (like
> > fileDescriptorProto etc).
> >
> > What must I do to use protocol buffers on android?
> >
> > thanks in advance,
> >
> > Jubei
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> > To post to this group, send email to proto...@googlegroups.com.
> > To unsubscribe from this group, send email to
> protobuf+unsubscr...@googlegroups.com
> .
> > For more options, visit this group athttp://
> groups.google.com/group/protobuf?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to proto...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@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.



[protobuf] Re: Protobuf on Android 1.6

2010-05-19 Thread Jubei
I've recompiled my .proto file using "option optimize_for =
LITE_RUNTIME;" as discussed in this thread:
http://groups.google.com/group/protobuf/browse_thread/thread/9963f3aaee112f0b

This time around the classes needed were among the ones without errors
so my app is running however there were a lot of warnings in the
com.google.protobuf code which makes me kinda wonder how stable it's
going to be in the end.

Jubei

On May 18, 10:17 pm, Jubei  wrote:
> Hello,
>
> I am trying to use protocol buffers on Android 1.6. Is it possible? I
> have added the com.google.protobuf structure in my Android project but
> it fails to compile with multiple errors on many areas (like
> fileDescriptorProto etc).
>
> What must I do to use protocol buffers on android?
>
> thanks in advance,
>
> Jubei
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Protocol Buffers" group.
> To post to this group, send email to proto...@googlegroups.com.
> To unsubscribe from this group, send email to 
> protobuf+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/protobuf?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to proto...@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.