Re: [Bitcoin-development] # error Bitcoin cannot be compiled without assertions. NOT

2014-06-06 Thread Wladimir
On Wed, Jun 4, 2014 at 12:42 PM, Jannis Froese s9jaf...@stud.uni-saarland.de wrote: I think most concerns about the current use of asserts would be resolved if the currently used asserts would be changed to a nicer definition which is independent of NDEBUG, and a second class of debugging

Re: [Bitcoin-development] # error Bitcoin cannot be compiled without assertions. NOT

2014-06-06 Thread Jeff Garzik
Speaking very generally, the Linux kernel wisdom on this tends to be, * Compile in as many cheap, compiler-predictable asserts as possible into the production runtime. * Debug builds are of limited value. Users do not recompile software, just to provide better bug reports/diagnostics. * Make it

Re: [Bitcoin-development] # error Bitcoin cannot be compiled without assertions. NOT

2014-06-04 Thread Mike Hearn
Hi Ron, FYI your mail is being spamfoldered due to Yahoo's DMARC policy and the brokenness of the SF.net mailing list software. I would not expect to get replies reliably whilst this is the case. I think we should move away from SF.net for hosting mailing lists personally, because it's this list

Re: [Bitcoin-development] # error Bitcoin cannot be compiled without assertions. NOT

2014-06-04 Thread Wladimir
assert() should have *no* side effects, that is the problem. I'm pretty sure that all the side effects of assertions have been removed before 0.9.0. However, the assertion checks are extremely important to the proper sanity of the client and network, so IMHO it's fair to still require

Re: [Bitcoin-development] # error Bitcoin cannot be compiled without assertions. NOT

2014-06-04 Thread Wladimir
On Wed, Jun 4, 2014 at 12:42 PM, Jannis Froese s9jaf...@stud.uni-saarland.de wrote: I think most concerns about the current use of asserts would be resolved if the currently used asserts would be changed to a nicer definition which is independent of NDEBUG, and a second class of debugging

Re: [Bitcoin-development] error Bitcoin cannot be compiled without assertions. NOT

2014-06-04 Thread Ron
Message: 2 Date: Wed, 4 Jun 2014 08:15:08 -0400 From: Jeff Garzik jgar...@bitpay.com Subject: Re: [Bitcoin-development] # error Bitcoin cannot be compiled     without assertions. NOT To: Mike Hearn m...@plan99.net Cc: bitcoin