digitalmars.D.learn - asserts and release
- Etienne (3/3) Jun 03 2014 Are asserts supposed to be evaluated in DMD release? I was getting a
- Tobias Pankrath (3/6) Jun 03 2014 Is this part of the runtime precompiled? If not the compiler
- bearophile (4/7) Jun 03 2014 assert(0) are not removed in release builds. They are a HALT.
Are asserts supposed to be evaluated in DMD release? I was getting a "privileged instructions error 0xC0000096" which was caused by an assert, when doing some gc programming in druntime
Jun 03 2014
On Tuesday, 3 June 2014 at 19:21:08 UTC, Etienne wrote:Are asserts supposed to be evaluated in DMD release? I was getting a "privileged instructions error 0xC0000096" which was caused by an assert, when doing some gc programming in druntimeIs this part of the runtime precompiled? If not the compiler switches you've used should be effective.
Jun 03 2014
Etienne:Are asserts supposed to be evaluated in DMD release? I was getting a "privileged instructions error 0xC0000096" which was caused by an assert, when doing some gc programming in druntimeassert(0) are not removed in release builds. They are a HALT. Bye, bearophile
Jun 03 2014