You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
What steps will reproduce the problem?
1. Download depot_tools:
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
2. To make depot_tools work, switch to python2:
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2 /usr/bin/python
sudo rm /usr/bin/python-config
sudo ln -s /usr/bin/python2-config /usr/bin/python-config
3. Download mod_pagespeed source code use depot_tools:
gclient config http://modpagespeed.googlecode.com/svn/branches/latest-beta/src (or http://modpagespeed.googlecode.com/svn/trunk/src)
gclient sync --force
4. Compile Source:
make BUILDTYPE=Release
What is the expected output?
A completed compilation
What do you see instead?
Error messages for variables set but not used
What version of the product are you using (please check X-Mod-Pagespeed
header)?
Attempted on both Latest Beta & Trunk Version
On what operating system?
Archlinux
Which version of Apache?
Apache 2.2.17
Which MPM?
Prefork
Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.
First Error:
net/instaweb/rewriter/js_combine_filter.cc: In member function ‘void net_instaweb::JsCombineFilter::ConsiderJsForCombination(net_instaweb::HtmlElement*, net_instaweb::HtmlElement::Attribute*)’:
net/instaweb/rewriter/js_combine_filter.cc:333:15: error: variable ‘url’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Next (if first is fixed in code):
net/instaweb/rewriter/resource_combiner.cc: In member function ‘virtual bool net_instaweb::ResourceCombiner::WriteCombination(const ResourceVector&, const OutputResourcePtr&, net_instaweb::MessageHandler*)’:
net/instaweb/rewriter/resource_combiner.cc:284:17: error: variable ‘contents’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
And so on ...
Original issue reported on code.google.com by mtwhe...@gmail.com on 9 May 2011 at 12:21
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
mtwhe...@gmail.com
on 9 May 2011 at 12:21The text was updated successfully, but these errors were encountered: