Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
5 days | Use stdint.h instead of ifdefing tr1/cstdint, cstdint and stdint.hstdint.h | Fedja Beader | 2 | -19/+3 | |
Rationale: By the standard, cstdint guarantees these basic types in std::, but *may* put them into the global namespace. By including stdint.h directly, we guarantee that these types are in the global namespace. stdint.h is also a C++ standard header guaranteed as part of the C compatibility support, thus toolchains should support this. The proper(tm) way of going about this would mean either prefixing [u]int[0-9]*_t with std:: everywhere where they are used (a chore) or having a proxy header that includes cstdint and around 50 using statements. The latter sounds to me like a good approach for toolchains that do not provide stdint.h and do not pollute global namespace. If such a toolchain exists in the wild. See discussion at https://stackoverflow.com/questions/13642827/cstdint-vs-stdint-h In practice, my toolchain's (gcc 14 on GNU) cstdint includes stdint.h then drags those types into std:: as well. | |||||
2024-02-09 | Update copyright headers up to 2023 | Jesusalva Jesusalva | 5 | -5/+10 | |
2023-04-07 | added missing cstdint include | jak1 | 2 | -0/+8 | |
2019-01-01 | Update copyright year. | Andrei Karas | 5 | -5/+5 | |
2018-01-04 | Update copyrights year. | Andrei Karas | 5 | -5/+5 | |
2017-11-01 | Add shuffle packets for packet version 20171101. | Andrei Karas | 1 | -1/+1 | |
2017-10-28 | Add packets for packet version 20171025. | Andrei Karas | 1 | -1/+1 | |
2017-10-18 | Set max allowed packet version in servers to 20171011. | Andrei Karas | 1 | -1/+1 | |
2017-09-23 | Fix max packet version limit in server editor. | Andrei Karas | 1 | -1/+1 | |
2017-06-08 | Replace depricated headers. | Andrei Karas | 1 | -1/+1 | |
2017-01-03 | Update copyright year. | Andrei Karas | 5 | -5/+5 | |
2016-09-23 | Add missing comments into defines. | Andrei Karas | 2 | -7/+7 | |
2016-05-08 | Add packets for packet version 20151001. | Andrei Karas | 1 | -1/+1 | |
2016-05-07 | Move max packet version constant into separate file. | Andrei Karas | 1 | -0/+32 | |
2016-03-09 | Add include again. | Andrei Karas | 1 | -9/+1 | |
2016-03-09 | Add missing include into header. | Andrei Karas | 1 | -0/+10 | |
2016-03-08 | Move setStat from ea namespace into eathena and tmwa. | Andrei Karas | 1 | -0/+26 | |
2016-01-02 | Update copyrights year. | Andrei Karas | 3 | -3/+3 | |
2015-12-18 | Move inventory index related constants into separate file. | Andrei Karas | 1 | -0/+29 | |
2015-12-14 | Move netconsts.h into const directory. | Andrei Karas | 1 | -0/+36 | |
2015-12-14 | Move skill error defines into separate file. | Andrei Karas | 1 | -0/+57 | |