gengirish / protobuf-embedded-c

Automatically exported from code.google.com/p/protobuf-embedded-c
0 stars 0 forks source link

Error messages #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  Define a message with a required "int16" field
2.  Run it through protoc
3.  Compile with gcc

What is the expected output? What do you see instead?

Since "int16" is not a legal integer type in Protocol Buffers, this is a syntax 
error.  I would expect to get an error message, and not any C code.

Instead, the protoc silently generates C code that gcc will not compile.

What version of the product are you using? On what operating system?

Version 1.0M3, with up-to-date Java.  Running on Windows 7, compiling with 
MinGW.

Please provide any additional information below.

Original issue reported on code.google.com by mstiller...@gmail.com on 8 Feb 2013 at 5:24

GoogleCodeExporter commented 8 years ago
Thank you for the feedback - we merge this with the more general issue 34.

Original comment by wolfgang.schwitzer on 14 Mar 2013 at 9:22