medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Use of angle brackets around file names for include statements

Open elfring opened this issue 10 years ago • 2 comments

Please, tell me if I'm wrong but these included headers are the part of the program (unlike modules), so isn't it ok to use double quotes instead of angle brackets? I know these files aren't on the same location (/inc/medusa vs. /src/core), but it's the same entity.

wisk avatar Sep 02 '14 21:09 wisk

I suggest to reconsider the consequences of the following wording from the section "16.2 Source file inclusion" in the standard specification for the programming language "C++".

…
The named source file is searched for in an implementation-defined manner. If this search is not supported, or if the search fails, the directive is reprocessed as if it read

#include <h-char-sequence> new-line
…

elfring avatar Sep 03 '14 05:09 elfring