-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to valid C++ namespace identifier #1330
Conversation
✅ Deploy Preview for dpp-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
we don't use this definition, mlspp is an internal dependency and no end user should be including its headers directly. as such this is not a required change. |
Is it possible to apply this fix for other DPP users (out of your intention scope)? |
please read what i put, this is auto generated from namespace.h.in. your changes will be overwritten on running cmake. Users do not include this file, there is no end user who will use this. It is not even part of |
I see. Maybe remove it then? |
This is auto configured file from within mlspp CMakelists.txt, if you wanna change the namespace you can pass |
This makes sense, thank you. If this |
but why do you need it to be correct? end users do not and CANNOT include it? |
But why do you need this "fix"? What you wanna do and what kind of problem you were having? |
its part of mlspp which is a third party dependency. |
My build started using that file since it is in repo. Hence build errors.
But you've said mlspp is bundled and changed for some needs. It seems this chunk of code
will be more correct as (see line #5)
|
no, we do not want to do extra polishing in mlspp. The only thing changed in mlspp was its build scripts so that it will accomadate static linking into dpp, and dpp's built in nlohmann json. mlspp is a security lib, and we are not qualified to polish it. |
but how, and why? what exactly would you be using and including it for, and how did you even include it, considering it isnt in the includes directory of the project? What would you be doing that needs you to |
I see, so fix should go into the upstream then. Checking mlspp. Here is what I've found there. https://github.com/cisco/mlspp/blob/main/CMakeLists.txt#L19
So, they already fixed what I'm asking (see line # 5 again). It is already
I build dpp. Dpp requires (uses) bundled mlspp. I build this bundled mlspp. It uses those And I see now that this issue is already fixed upstream. |
why do you build it, when dpp should automatically build it how it wants it? If you build it by hand, youre missing out on some important configuration. we will backport that fix, but please dont try and just go into mlspp directory and hand build mlspp, if its bundled, its bundled for a reason and shouldnt just be hand built. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
closing this pr as we will backport the fix from mlspp instead
No description provided.