We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got messages from the linker like
undefined reference to `IoTHubClient_Properties_Serializer_CreateReported(IOTHUB_CLIENT_PROPERTY_REPORTED_TAG const*, unsigned int, char const*, unsigned char**, unsigned int*)
undefined reference to `IoTHubClient_Properties_Serializer_Destroy(unsigned char*)'
when including iothub_client_properties.h in a C++ source code file.
The problem is that iothub_client_properties.h does not contain an extern "C" specification like
#ifdef __cplusplus extern "C" { #endif // ... #ifdef __cplusplus } #endif
Including the file via
extern "C" { #include <iothub_client_properties.h> }
works but is ugly like hell.
The text was updated successfully, but these errors were encountered:
Thanks @D-r-P-3-p-p-3-r for your report. Please feel free to submit a PR.
Sorry, something went wrong.
#2548
resolved
ericwolz
No branches or pull requests
I got messages from the linker like
when including iothub_client_properties.h in a C++ source code file.
The problem is that iothub_client_properties.h does not contain an extern "C" specification like
Including the file via
works but is ugly like hell.
The text was updated successfully, but these errors were encountered: