Skip to content

Separate string literal from macro #5116

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 18, 2017
Merged

Conversation

hasnainvirk
Copy link
Contributor

From C++11 and beyond string literals must be seperated by space
so that they are recongizable as seperate tokens.

Context macro in PPPCellularInterface (CTX) has been causing issues
as it was not augmented with a space from a nearby string literal.

From C++11 and beyond string literals must be seperated by space
so that they are recongizable as seperate tokens.

Context macro in PPPCellularInterface (CTX) has been causing issues
as it was not augmented with a space from a nearby string literal.
@hasnainvirk
Copy link
Contributor Author

hasnainvirk commented Sep 15, 2017

@MarceloSalazar @adbridge mbed-os-example-cellular has been failing with IAR for MTS_DRAGINFLY_F411RE due to errors in PPPCellularIterface.cpp. I think an attempt was made to fix this by Deepika but it was incomplete.
Fixed in this commit. @karsev Here is the solution to your problem.

@theotherjimmy theotherjimmy changed the title Seperatig string literal from macro Separate string literal from macro Sep 15, 2017
@theotherjimmy
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

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

/morph test

Output

mbed Build Number: 1320

All builds and test passed!

@adbridge adbridge self-requested a review September 18, 2017 14:23
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.

4 participants