3 ms·
(luckily?) MSVC has been the only compiler I've used that has _crashed_ on me given certain code patterns. Here's a fun one that happens for only RelWithDebInfo
by hoten 4y ago
(luckily?) MSVC has been the only compiler I've used that has _crashed_ on me given certain code patterns. Here's a fun one that happens for only RelWithDebInfo 32bit [1].
The `Hero.{x,y}` properties here are a custom fixed precision number class with some implicit conversions to int, which I suspect being relevant to the crash.
[1] https://github.com/ArmageddonGames/ZQuestClassic/blob/e678e9bd9b806d2f8bf054cfa2afd51ad318470c/src/zfix.h#L15-L32 https://github.com/ArmageddonGames/ZQuestClassic/blob/e678e9...
- 3836293648 4y agoGCC has crashed on me every time I've tried LTO. Though that is an optimisation flag and not a code pattern. Still a crash though