Greetings,

I try to link a C++17 app previously built with g++ 12 for c++17 now with 
clang++-17 and libc++ against an 3.18.2 protobuf version which is required. 
However, some of the app headers produce linker errors like these:

config.hpp:69: undefined reference to 
`google::protobuf::MessageLite::ParseFromIstream(std::__1::basic_istream<char, 
std::__1::char_traits<char> >*)'

As far as I know std::__1 is C++11, in 17 it's std::placeholders::__1 .
Can this be explained by protobuf being built against std=c++11 and the app 
against 17?
I tried to switch everything in protobuf configure.ac to c++17 It seems  to 
me that libprotobuf.so.29.0.2, libprotoc.so.29.0.2: and 
libprotobuf-lite.so.29.0.2 
still have c++11 symbols.

Any ideas?

Regards

-- 
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/25092f8f-8040-494b-b657-a904103c6879n%40googlegroups.com.

Reply via email to