berezovskyi/protobuf-embedded-c

Error messages

GoogleCodeExporter opened this issue · 1 comments

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

  • Merged into: #34
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

  • Changed state: Duplicate