Hi, i'm having an issue like this:

people.proto:
```
syntax = "proto3";
message people{
    string name = 1;
}
```

then there is a class A:
```
#include "people.pb.h"
class A{
public:
 A();
~A();
void getName(people p){
    std::cout << p.name() << std::endl;
}
```
then clion keep telling me the p variable: 
Variable has incomplete type "people"

what should i do here?


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/378eb060-3deb-43a8-ade7-835956923a21n%40googlegroups.com.

Reply via email to