To use re2 in chromium, we'd like to remove static initializers where possible.
See http://code.google.com/p/chromium/issues/detail?id=94925 for background.
Most of the warnings are due to the inclusion of iostream in util.h. The other
static initializers are in these 4 files:
re2/compile.cc
re2::kNullFrag
re2/re2.cc
re2::RE2::DefaultOptions
re2::RE2::Quiet
re2::RE2::Latin1
re2::empty_string
re2::empty_group_names
re2::empty_named_groups
re2/regexp.cc
re2::kErrorStrings
re2::ref_map
re2::ref_mutex
util/mutex.h
(the output is somewhat more obscure)
Original issue reported on code.google.com by yoz@chromium.org on 8 Aug 2012 at 11:56
Original issue reported on code.google.com by
yoz@chromium.org
on 8 Aug 2012 at 11:56