Getting issue in nullable.hpp file while integrating the azure sdk for cpp into our application #5634
Labels
Azure.Core
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-author-feedback
More information is needed from author to address the issue.
no-recent-activity
There has been no recent activity on this issue.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Query/Question
Getting issue
Error C2556 'int64_t *Azure::Nullable<int64_t>::operator ->(void) const': overloaded function differs only by return type from 'const int64_t *Azure::Nullable<int64_t>::operator ->(void) const' (compiling source file login.cpp) in file nullable.hpp while integrating azure sdk into our project.I have not made any changes in the file still getting the errors.
In login.cpp I have used header files
#include<azure/identity.hpp>
#include<azure/core.hpp>
Why is this not a Bug or a feature Request?
The problem could be resolved by adjusting the implementation to avoid overloading based only on return type. This typically involves refactoring the function signatures or ensuring that only one version of operator-> exists.
Setup (please complete the following information if applicable):
The text was updated successfully, but these errors were encountered: