Just in case, clang can detect global constructors, so if you build code base with CXX="clang++ -Wglobal-constructors", it should warn you about all such cases. For some of our projects we added -Wglobal-constructors into Makefiles, so that no new instances are added.
On Mon, Mar 12, 2012 at 3:52 PM, Philippe Liard <[email protected]> wrote: > Thanks Florian! > > > On Mon, Mar 12, 2012 at 11:50 AM, <[email protected]> wrote: > >> On 2012/03/12 11:48:01, fschneider wrote: >> >>> lgtm >>> >> >> I'll land this together with >> http://codereview.chromium.**org/9447052/<http://codereview.chromium.org/9447052/>since >> those >> two really belong together. >> >> http://codereview.chromium.**org/9455088/<http://codereview.chromium.org/9455088/> >> > > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
