Skip to content

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Jun 14, 2016

The cpp files are by default compiled with --cpp. Including this flag, causing
C files compiled as C++ files. Thus we remove them. We could potentionally
remove it from cxx flags as well.

This was added just recently as flags unification. It's tricky to unify command line and IDE, as via cmd you can invoke separately asm/c/cxx, but in many IDE c/cxx are within the same tab. Therefore there are some limitations and we need to currently do exceptions for IDE, as in this PR.

Fixes #1919

@ohagendorf

The cpp files are by default compiled with --cpp. Including this flag, causing
C files compiled as C++ files. Thus we remove them. We could potentionally
remove it from cxx flags as well.
@0xc0170
Copy link
Contributor Author

0xc0170 commented Jun 14, 2016

cc @stevew817

@0xc0170 0xc0170 merged commit 262b2e4 into ARMmbed:master Jun 14, 2016
ohagendorf added a commit to ohagendorf/mbed-os that referenced this pull request Jun 14, 2016
- one missing import
- typo: uvision instead of uvision5 used
@ohagendorf
Copy link
Contributor

It works but there are some minor fixes necessary. Please see PR #1935

0xc0170 added a commit that referenced this pull request Jun 14, 2016
@0xc0170 0xc0170 deleted the fix_uvision_cpp branch September 1, 2020 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants