-
Notifications
You must be signed in to change notification settings - Fork 3k
Duplicate symbol resolution changed between 5.7.4 and 5.8.3 #6807
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
Comments
I don't follow. in the question above is the code snippet how you include winc sdk? it's in separete namespace and you still get a conflict? What exact error are you getting (where mbed OS close gets from) ? |
The SDK is a separate directory in my main git repository. This is the only include I use from outside the SDK, adding the namespace to avoid exactly this kind of issue. Within the SDK there are all kind of things going on, overlapping with standard names like |
I can reproduceably create this by switching from 5.7.4 to 5.8.3 and revert it by moving back to 5.7.4 (mbed-cli 1.5.1) I need a way to make this work without touching every file of the SDK. |
Based on the output, isn't this a problem in the winc SDK? Looking at winc1500 sources, in socket.c file I can't find close defined (they declare their API as socketXXX or am I looking at older sources?). Update: found it, in the header file, cc @kjbracey-arm |
Edit: Thanks for the link, that explains it, but essentially this implies that I have to jump through quite some hoops to make this work again, but it seems this is actually unrelated to mbed-os. Feel free to close. |
Description
I am using an SDK for a Winc which I am trying to compile with my project (and is part of my project).
It used to work just fine with 5.7.4 .
Upgrading to 5.8.3 caused this conflict. No other changes were done.
Target
NRF52
Toolchain:
GCC_ARM
Toolchain version:
mbed-cli version:
1.5.1
mbed-os sha:
5.8.3
Expected behavior
Compiling
Actual behavior
Fails to compile due to conflicting decl of
close
of the Winc SDK Version and the mbed os one.Steps to reproduce
Upgrade from 5.7.4 to 5.8.3
Question
How to handle multipe conflicting definitions in mbed os with mbed-cli?
Current way of including:
which is then used as
The text was updated successfully, but these errors were encountered: