Skip to content
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

Fails to build with clang #13

Closed
damienpontifex opened this issue Aug 4, 2016 · 1 comment
Closed

Fails to build with clang #13

damienpontifex opened this issue Aug 4, 2016 · 1 comment

Comments

@damienpontifex
Copy link
Contributor

My project utilise the azure-iot-sdks which has a dependency on this c-shared-utility and using clang 3.8.0 compiler. Currently the shared utility library fails to build with clang.

Some initial errors found include:

azure-iot-sdks/c/azure-c-shared-utility/src/constbuffer.c:116:9: error: address argument to atomic
      operation must be a pointer to _Atomic type ('uint32_t *' (aka 'unsigned int *') invalid)
        INC_REF(CONSTBUFFER_HANDLE_DATA, constbufferHandle);

There are others, but still to investigate further the amount of changes that may be required.

Would this be amenable to enabling clang compilation for this project? Or too far out of scope?

@tameraw
Copy link
Contributor

tameraw commented Aug 16, 2016

@damienpontifex - Currently we don't have plans to add support to build with clang. But we'd definitely welcome contribution to support that.

robch pushed a commit to robch/azure-c-shared-utility that referenced this issue Nov 8, 2019
fix setting ssl property for iOS 10.x on iPhone 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants