Compilation fails with following output: content/browser/renderer_host/clipboard_message_filter.cc: In member function ‘void ClipboardMessageFilter::OnReadImageReply(SkBitmap, IPC::Message*)’: content/browser/renderer_host/clipboard_message_filter.cc:173: error: ‘Z_BEST_SPEED’ was not declared in this scope make: *** [out/Release/obj.target/content_browser/content/browser/renderer_host/clipboard_message_filter.o] Error 1 make: *** Waiting for unfinished jobs.... emake failed
1) Please post your `emerge --info' output too. 2) Attach the entire build log to this bug report.
I ran into this one as well. Z_BEST_SPEED is defined in zlib.h, which is included as "third_party/zlib/zlib.h" in clipboard_message_filter.h. gcc-4.5 gives a much more intuitive error message. :)
This is fixed in my overlay. I will upstream it after I do a compile test with bundled zlib. https://bitbucket.org/floppym/chromium-overlay/changeset/722d70526d32
The fix landed upstream, closing.