Skip to content

Remove macro for operators. Enable these as default behavior #2137

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
Jul 23, 2016
Merged

Remove macro for operators. Enable these as default behavior #2137

merged 1 commit into from
Jul 23, 2016

Conversation

sg-
Copy link
Contributor

@sg- sg- commented Jul 10, 2016

By default, APIs with overloaded operators are enabled. Remove the macro that was gating this but enabled by default in the header file.

@c1728p9
Copy link
Contributor

c1728p9 commented Jul 10, 2016

Looks good to me. Why was the code switched out in the first place?

@@ -28,13 +28,13 @@ Note: This configuration file must be in [JSON format](http://www.w3schools.com/
Note: Unfortunately JSON format is not allowing you to have comments inside JSON code.

Let’s see some example and let's try to configure small "test farm" with three devices connected to your host computer. In this example no peripherals (like SD card or EEPROM) are connected to our Mbed boards. We will use three platforms in this example:
* [NXP LPC1768](https://mbed.org/platforms/mbed-LPC1768) board.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the whitespace removal shall be separate commit

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

git commit -p will let you choose specific chunks if you just want to commit the non-whitespace changes.

@PrzemekWirkus
Copy link
Contributor

PrzemekWirkus commented Jul 11, 2016

@sg- Any description for this PR? You are changing 20 files you could drop a line or two to explain what you are trying to achieve in this PR. Thanks!

@sg-
Copy link
Contributor Author

sg- commented Jul 11, 2016

@PrzemekWirkus Remove macro for operator overloading. Enable these as default behavior :)

@PrzemekWirkus
Copy link
Contributor

@sg- See here.

Pull request

Please send pull requests with changes which are:

  • Complete (your code will compile and perform as expected).
  • Tested on hardware.
    • You can use included mbed SDK test suite to perform testing. See TESTING.md.
    • If your change, feature do not have a test case included please add one (or more) to cover new functionality.
    • If you can't test your functionality describe why.
  • Documented source code:
    • New, modified functions have descriptive comments.
    • You follow coding rules and styles provided by mbed SDK project.
  • Documented pull request description:
    • Description of changes is added - explain your change / enhancement.
    • References to existing issues, other pull requests or forum discussions are included.
    • Test results are added.

github_description

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 18, 2016

Any update on this? This patch shall get in, macros do not make sense to me neither.

@sg- sg- merged commit 542fcca into ARMmbed:master Jul 23, 2016
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.

5 participants