We don't support C (just C++) in the main protobuf implementation, and I
believe this is mostly because there has not been a lot of interest in a C
implementation. However, there are some other implementations out there
that support C--for example, you might want to look at upb
<https://github.com/google/upb> (which we already use in the internals of
the Ruby and PHP implementations), protobuf-c
<https://github.com/protobuf-c/protobuf-c>, and others listed here
<https://github.com/google/protobuf/blob/master/docs/third_party.md>.

On Mon, Oct 17, 2016 at 10:52 PM, santhosh Jayawadagi <[email protected]>
wrote:

> Protoc compiler cannot generate file for C program , why ?
>
> --
> 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.

Reply via email to