Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-08 | * 2020-05-08 [ci skip] | git | |
2020-05-07 | * 2020-05-07 [ci skip] | git | |
2020-05-06 | * 2020-05-06 [ci skip] | git | |
2020-05-05 | * 2020-05-05 [ci skip] | git | |
2020-05-04 | * 2020-05-04 [ci skip] | git | |
2020-05-03 | * 2020-05-03 [ci skip] | git | |
2020-05-02 | * 2020-05-02 [ci skip] | git | |
2020-05-01 | * 2020-05-01 [ci skip] | git | |
2020-04-30 | * 2020-04-30 [ci skip] | git | |
2020-04-29 | * 2020-04-29 [ci skip] | git | |
2020-04-28 | * 2020-04-28 [ci skip] | git | |
2020-04-27 | * 2020-04-27 [ci skip] | git | |
2020-04-26 | * 2020-04-26 [ci skip] | git | |
2020-04-25 | * 2020-04-25 [ci skip] | git | |
2020-04-24 | * 2020-04-24 [ci skip] | git | |
2020-04-23 | * 2020-04-23 [ci skip] | git | |
2020-04-22 | * 2020-04-22 [ci skip] | git | |
2020-04-21 | * 2020-04-21 [ci skip] | git | |
2020-04-20 | * 2020-04-20 [ci skip] | git | |
2020-04-19 | * 2020-04-19 [ci skip] | git | |
2020-04-18 | * 2020-04-18 [ci skip] | git | |
2020-04-17 | * 2020-04-17 [ci skip] | git | |
2020-04-16 | * 2020-04-16 [ci skip] | git | |
2020-04-15 | * 2020-04-15 [ci skip] | git | |
2020-04-14 | * 2020-04-14 [ci skip] | git | |
2020-04-13 | add #include guard hack | 卜部昌平 | |
According to MSVC manual (*1), cl.exe can skip including a header file when that: - contains #pragma once, or - starts with #ifndef, or - starts with #if ! defined. GCC has a similar trick (*2), but it acts more stricter (e. g. there must be _no tokens_ outside of #ifndef...#endif). Sun C lacked #pragma once for a looong time. Oracle Developer Studio 12.5 finally implemented it, but we cannot assume such recent version. This changeset modifies header files so that each of them include strictly one #ifndef...#endif. I believe this is the most portable way to trigger compiler optimizations. [Bug #16770] *1: https://docs.microsoft.com/en-us/cpp/preprocessor/once *2: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html Notes: Merged: https://github.com/ruby/ruby/pull/3023 | |||
2020-04-13 | * 2020-04-13 [ci skip] | git | |
2020-04-12 | * 2020-04-12 [ci skip] | git | |
2020-04-11 | * 2020-04-11 [ci skip] | git | |
2020-04-10 | * 2020-04-10 [ci skip] | git | |
2020-04-09 | * 2020-04-09 [ci skip] | git | |
2020-04-08 | * 2020-04-08 [ci skip] | git | |
2020-04-07 | * 2020-04-07 [ci skip] | git | |
2020-04-06 | * 2020-04-06 [ci skip] | git | |
2020-04-05 | * 2020-04-05 [ci skip] | git | |
2020-04-04 | * 2020-04-04 [ci skip] | git | |
2020-04-03 | * 2020-04-03 [ci skip] | git | |
2020-04-02 | * 2020-04-02 [ci skip] | git | |
2020-04-01 | * 2020-04-01 [ci skip] | git | |
2020-03-31 | * 2020-03-31 [ci skip] | git | |
2020-03-30 | * 2020-03-30 [ci skip] | git | |
2020-03-29 | * 2020-03-29 [ci skip] | git | |
2020-03-28 | * 2020-03-28 [ci skip] | git | |
2020-03-27 | * 2020-03-27 [ci skip] | git | |
2020-03-26 | * 2020-03-26 [ci skip] | git | |
2020-03-25 | * 2020-03-25 [ci skip] | git | |
2020-03-24 | * 2020-03-24 [ci skip] | git | |
2020-03-23 | * 2020-03-23 [ci skip] | git | |
2020-03-22 | * 2020-03-22 [ci skip] | git | |
2020-03-21 | * 2020-03-21 [ci skip] | git | |