On Wed, Apr 22, 2009 at 8:39 PM, Mark Larson (Google) <[email protected]>wrote:
> So, please don't do any work in a DCHECK. We're lucky that the above > example failed to compile, but it's possible to write code like this that > would compile and just cause bizarre errors in release builds. > ...and I have written such code (~1.5 years ago). It was annoying to track down. Don't be dumb like me. Don't do anything with side effects inside CHECK(), DCHECK(), or similar. PK --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
