okay... that does not appear to be the whole story.  it also  has
something to do with unix-style end-of-line vs. windows and/or mac
style end-of-line.  behaves correctly with unix-style.  comment on the
first line fails on whatever style i had it set to before.  also fails
if you have a line commented out in the middle of the enumeration like
so:

enum foo {
    bar = 1;
// baz = 2;
}

On Feb 16, 1:53 pm, dan <jiggersp...@gmail.com> wrote:
> solved it.  apparently you can't have a comment as the first line of
> your file.
>
> On Feb 16, 11:40 am, dan <jiggersp...@gmail.com> wrote:
>
>
>
>
>
>
>
> > i have a .proto with nothing but an enumeration in it.  it compiles,
> > but the output .h and .cc file are basically empty stubs.  i made a
> > test file with
>
> > enum foo {
> >     bar = 1;
>
> > }
>
> > and that compiles just fine... the file i'm having problems with is
> > the essentially the same but has about 125 values.
>
> > any ideas?

-- 
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