RESOLVED FIXED 69584
Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
https://bugs.webkit.org/show_bug.cgi?id=69584
Summary Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
Anders Carlsson
Reported 2011-10-06 17:07:24 PDT
Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
Attachments
Patch (15.54 KB, patch)
2011-10-06 17:12 PDT, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2011-10-06 17:12:44 PDT
Darin Adler
Comment 2 2011-10-06 17:15:55 PDT
Comment on attachment 110063 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=110063&action=review > Source/JavaScriptCore/wtf/StdLibExtras.h:48 > +// non-trivial constructor and destructor. When building with clang, this will supress > +// warnings about global constructors and exit-time destructors. How does it suppress those warnings? Typo: suppress
WebKit Review Bot
Comment 3 2011-10-06 17:16:08 PDT
Attachment 110063 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/WebCore/dom/Node.cpp:288: Extra space before ) [whitespace/parens] [2] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 4 2011-10-06 17:18:50 PDT
(In reply to comment #2) > (From update of attachment 110063 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=110063&action=review > > > Source/JavaScriptCore/wtf/StdLibExtras.h:48 > > +// non-trivial constructor and destructor. When building with clang, this will supress > > +// warnings about global constructors and exit-time destructors. > > How does it suppress those warnings? > I'll add that in an upcoming patch - I removed the last sentence for now.
Anders Carlsson
Comment 5 2011-10-06 17:19:21 PDT
Note You need to log in before you can comment on or make changes to this bug.