2 ms·
FWIW, gcc has had pragma once for ages. On the other hand recently we had issues with MSVC not recognizing that an header and its simlink were the same. GCC and
by gpderetta 8y ago
FWIW, gcc has had pragma once for ages. On the other hand recently we had issues with MSVC not recognizing that an header and its simlink were the same. GCC and clang had no problems.
There is a reason pragma once is not standardized. Defining when to include lines refer to the same file is extremely hard.