Would it possible to use the library with no-rtti? #15811
Unanswered
joonghunpark
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m working on chromium based browser,
and succeeded porting this library’s asynchronous streaming recognition api related codes with google api key authentication only bt bulding it BUiLD.gn, chromium build system, and it works well.
But to do that, for now I needed to turn on rtti for entire chromium unnecessarily(by chromium chromium turns off rtti). I’m thinking about isolating the code using the speech api client from other ones, but it is a bit tricky and will take some time.
So I’d like to ask that would it be possible to use this library without rtti on?
if it can be achieved easily, please let me know the way.
If my memory is correct(I am writing this on the bus going to home) the file using rtti was google/cloud/option.h(using typeid). Not sure it was all the rtti related file for me though.
And it would be very helpful if this library can be used without rtti in the first place, them it would be more easy for the user of this library to use.
This writing is like a feature request.
Thank you for your help.
Joonghun Park
Updated: I succeeded isolating rtti-enabled gn targets only including google-cloud-cpp library by refactoring chromium content/browser/BUILD.gn, but it was a bit tricky. If google-cloud-cpp library supports rtti-disabled mode, user could this library more easily. Please consider introducing rtti-disabled mode. Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions