Skip to content

Fix redefinition of mbed TLS error codes #5138

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

Merged
merged 1 commit into from
Sep 20, 2017
Merged

Conversation

artokin
Copy link
Contributor

@artokin artokin commented Sep 19, 2017

Notes:

  • Pull requests will not be accepted until the submitter has agreed to the contributer agreement.
  • This is just a template, so feel free to use/remove the unnecessary things

Description

Fix macro redefinition warning/error by adding guards around the macros that could be redefined.
This will fix PelionIoT/coap-service#75.

Status

READY

Migrations

If this PR changes any APIs or behaviors, give a short description of what API users should do when this PR is merged.

NO

Related PRs

List related PRs against other branches:

branch PR
other_pr_production link
other_pr_master link

Todos

  • Tests
  • Documentation

Deploy notes

Notes regarding the deployment of this PR. These should note any
required changes in the build environment, tools, compilers, etc.

Steps to test or reproduce

Outline the steps to test or reproduce the PR here.

-Use guards around MBEDTLS macros.
@0xc0170
Copy link
Contributor

0xc0170 commented Sep 19, 2017

cc @SeppoTakalo

@SeppoTakalo
Copy link
Contributor

@SeppoTakalo
Copy link
Contributor

I manually tested and can confirm that this fixes the linked issue.

@SeppoTakalo
Copy link
Contributor

@0xc0170 This is OK to be merged. Launch test runs if you need to.

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 20, 2017

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1343

All builds and test passed!

@0xc0170 0xc0170 merged commit b5c53f4 into ARMmbed:master Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redefinition of Mbed TLS error codes
5 participants