I know it starts with #, and it follows the preprocessing directives format. But does the preprocessor really care about it? The #pragma pack, #pragma once, and all other directives I know, are all proceeded by compilers. A comment in this question even states that #pragma directive survives the pre-processing stage.
So my questions are:
- Since
#pragmais for compiler, why is it considered a preprocessing directive? Is it just because it starts with#? - Does preprocessor really do something with
#pragma?