+Adam Cozzette for C++ generated codeOn Wed, May 8, 2019 at 8:24 PM Vinay Shivakumar <vinh...@gmail.com> wrote:Hi Jie,Thanks for your reply.Using C++ protobuf . Suppose i have message(class) as a member of another message(class) . the function being generated to get an instance of the inner message is inline . I understand its left to compiler to consider the function for inline . Its not just the functions . even the classes generated in pb.h for corresponding message in proto.h having undefined reference . when i use defualt visibility (__attribute__((visibility( default ))) ) for protobuf class manually and compile , symbol of the class appear in the .so shared library . This essentially means that protobuf classes are generated with hidden visibility . is it possible to have protobuf classes generated with default visibility so that they can be used across the shared library ?
--
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 protobuf+u...@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/60889d0a-b599-4931-9850-c5dafe832b72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.