[Github-comments] [geany/geany-plugins] Cleanup: fixed usage of '#include "geanyplugin.h"' (#882)

Thomas Martitz notifications at xxxxx
Tue Jul 23 21:14:18 UTC 2019


Doesn't really matter if you use `""` or `<>`, the only difference is that `""` first looks in the location of the source file that is being compiled (I believe it's actually the working directory of the compiler), whereas `<>` looks only in paths provided on the command line and default include dirs (/usr/include) (`""` also looks in these paths).

So for geanyplugin.h you need the include path on the command line, so both `<>` and `""` are equally correct. But, by convention, you should prefer `<>` for headers that don't belong to your package, which is the case here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/882#issuecomment-514386325
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190723/9b4fe88c/attachment.html>


More information about the Github-comments mailing list