You mentioned "The error goes away also if I use proto2 and make everything optional.". proto2 and proto3 has the same API for float fields. I don't think using proto2 is the reason to make the error go away. Is it possible you disabled float waring when using proto2?
On Fri, Mar 4, 2016 at 4:43 PM Seth Humphries <[email protected]> wrote: > I forgot to add that this occurs after proto buffer generates the pb.h and > pb.c files. This error occurs inside the generated files when I attempt to > compile them. ie the error gives the .pb.c file and line number. > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
