-
Notifications
You must be signed in to change notification settings - Fork 17
v1.1.5 adds breaking changes to the Silicon Labs platforms #63
Comments
We enabled c++11 a while ago. At that time, we didn't find any incompatibilities, and since the API themselves didn't change, it made little sense to releae a major number. What kind of breaking changes are you talking about? |
ARM Internal Ref: IOTSFW-1918 |
The c++11 enablement was in a major version upgrade. By making this a patch update you are forcing me to change my code, which is against the semantic versioning meaning of patch. |
I'm not sure actually. semver.org has this to say:
It talks about the API. The API didn't change, this was actually a bugfix release. If your code used some core-util code that was buggy and it was fixed, it follows logically that your code needs to change too. I'm really not sure though how this should be handled at versioning level. |
So you see no problem in forcing changes on our user base like this? Interesting. |
To quote myself:
|
Breaking changes = major version update |
Did you read the semver.org quote in my previous post carefully? From that perspective, this is not a breaking change, but a bugfix. And again, I don't know how this is should be handled under semver rules. |
The API did change. I can't even compile it. My point is, I should always be able to update minor and patch version modules and still expect my code to work without changes. |
@marcuschangarm Fair point. In this case, using newer standard in our modules, shall be considered as breaking change. We should be more careful with this type of updates, as many of our current modules yet not introduced new only c++1x features. |
This is an interesting situation indeed. You were using some functions generated automatically by the compiler; these functions were already implicitly in the interface, even though they were not explicitly declared. And then I broke that by explicitly removing them. You're right, I didn't consider this. |
@bogdanm Thank you for the offer! I got it from here though. @PrzemekWirkus I wonder if we could have the automatic testing detect when modules break for different major target versions and parent modules within the mbed-drivers dependency tree? |
@marcuschangarm Shall this be closed? |
@0xc0170 why? the major version hasn't been bumped yet and the current version still breaks the efm32gg-stk board. |
1cf4642
The c++11 extensions should have been a major version increase.
The text was updated successfully, but these errors were encountered: