Hi!
I want to integrate a grpc client in an existing c project. As an 
standalone example (in C!)  it compiles and works fine (cmake with 
FetchConent to fetch grpc 
[https://github.com/grpc/grpc/tree/master/src/cpp#fetchcontent]). But 
included in the existing project (cmake too, part to fetch/include grpc is 
the same) hpack_parser.h throws 28 errors.
For example:
- 
_deps/grpc-src/src/core/ext/transport/chttp2/transport/hpack_parser.h:39:5: 
note: in expansion of macro ‘None’

- 
_deps/grpc-src/src/core/ext/transport/chttp2/transport/hpack_parser.h:48:5: 
note: in expansion of macro ‘None’

- 
_deps/grpc-src/src/core/ext/transport/chttp2/transport/hpack_parser.h:67:16: 
error: expected constructor, destructor, or type conversion before ‘;’ 
token  HPackParser();

- 
_deps/grpc-src/src/core/ext/transport/chttp2/transport/hpack_parser.h:70:21: 
error: ‘HPackParser’ does not name a type
   HPackParser(const HPackParser&) = delete;
                     ^~~~~~~~~~~

I know if its working standalone the error must be on my side, but maybe 
there is some known issue regarding hpack_parser when included in other 
projects. I already tried to run the standalone example with the same 
compiler flags as in the c project and it worked well, so this shouldn't be 
the problem.

Thanks and Greetings

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f4938102-0636-4ed4-8bd9-a8fa215734d1n%40googlegroups.com.

Reply via email to