[riot-notifications] [RIOT-OS/RIOT] Question: Where does the `#include " "` conding convention come from? (#15522)
Karl Fessel
notifications at github.com
Mon Nov 30 15:30:37 CET 2020
i just checked gcc does not apply what msvc does for the quoted form rule 2 (the parrent include) < this would be a problem
[incl_test.zip](https://github.com/RIOT-OS/RIOT/files/5616503/incl_test.zip)
```
cd main
gcc -I ../inc1 -I ../inc2 main.c
```
gcc for quoted -> the currents file directory -> the rest is like angel brackets
gcc for angel -> search `-I` include paths last added is first to be searched -> search compiler system includes
the `<>` form also searches -I first before
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/15522#issuecomment-735819992
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201130/9b4256aa/attachment-0001.htm>
More information about the notifications
mailing list