You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update include-alias.md
* Update include-alias.md
* Update include-alias.md
* Update include-alias.md
* Update include-alias.md
* Update include-alias.md
Because the FAT file system example is dated, I edited this to give the parameters more meaningful names.
Fixed parameter descriptions in intro paragraph and expanded on the purpose in Remarks.
Escaped angle brackets outside code blocks.
* Update include-alias.md
Updated ms.date header.
Some file systems allow longer header filenames than the 8.3 FAT file system limit. The compiler cannot simply truncate the longer names to 8.3, because the first eight characters of the longer header filenames may not be unique. Whenever the compiler encounters the *long_filename* string, it substitutes *short_filename*, and looks for the header file *short_filename* instead. This pragma must appear before the corresponding `#include` directives. For example:
19
+
The **include_alias** pragma directive allows you to substitute files that have different names or paths for the file names included by source files. For example, some file systems allow longer header filenames than the 8.3 FAT file system limit. The compiler cannot simply truncate the longer names to 8.3, because the first eight characters of the longer header filenames may not be unique. Whenever the compiler encounters the *alias_filename* string, it substitutes *actual_filename*, and looks for the header file *actual_filename* instead. This pragma must appear before the corresponding `#include` directives. For example:
20
20
21
21
```cpp
22
22
// First eight characters of these two files not unique.
@@ -73,8 +73,8 @@ Furthermore, the following directive generates an error:
73
73
Note that the filename reported in error messages, or as the value of the predefined `__FILE__` macro, is the name of the file after the substitution has been performed. For example, see the output after the following directives:
0 commit comments