Skip to content
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

Remove default include paths #96

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

carpikes
Copy link
Contributor

@carpikes carpikes commented Jul 17, 2022

This PR removes all the ambiguous include paths.
Now the only two openrtx include paths are openrtx/ and platform/.

Also, I used the following convention for #include <> VS #include "":

  • #include <..> indicates an include of system libraries, miosix libraries, external libraries
  • #include ".." indicates an include of openrtx libraries, local (current directory) libraries.

This means that if we want to include openrtx/core/utils.h we should write #include "core/utils.h" instead of just #include utils.h. Also, this PR applies clang-format to the include list of all changed files.

Let me know what do you think.

@carpikes carpikes force-pushed the fix/remove-default-include-paths branch from bc3733b to a8af0b9 Compare July 17, 2022 22:20
@carpikes carpikes marked this pull request as ready for review July 17, 2022 22:23
@carpikes carpikes changed the title WIP: Remove default include paths Remove default include paths Jul 17, 2022
@carpikes carpikes force-pushed the fix/remove-default-include-paths branch from 8ae201f to cb94b78 Compare July 21, 2022 20:11
@carpikes carpikes force-pushed the fix/remove-default-include-paths branch from c2321f9 to d33c49a Compare July 21, 2022 20:20
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.

None yet

1 participant