[tor-bugs] #15922 [Tor Browser]: -Werror=reorder build error on Mozilla Try

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 4 17:42:03 UTC 2015


#15922: -Werror=reorder build error on Mozilla Try
-----------------------------------+--------------------------
 Reporter:  boklm                  |          Owner:  tbb-team
     Type:  defect                 |         Status:  new
 Priority:  normal                 |      Milestone:
Component:  Tor Browser            |        Version:
 Keywords:  TorBrowserTeam201505R  |  Actual Points:
Parent ID:                         |         Points:
-----------------------------------+--------------------------
 When pushing tor-browser-31.6.0esr-4.5-1 to Mozilla Try, after fixing
 #15921, the build fails with the following error:
 {{{
     ../../../dist/include/mozilla/net/HttpBaseChannel.h:339:11: error:
 'mozilla::net::HttpBaseChannel::mRedirectCount' will be initialized after
 [-Werror=reorder]
     ../../../dist/include/mozilla/net/HttpBaseChannel.h:327:20: error:
 'nsCOMPtr<nsIURI> mozilla::net::HttpBaseChannel::mProxyURI'
 [-Werror=reorder]
     /builds/slave/try-
 lx-d-000000000000000000000/build/src/netwerk/protocol/http/HttpBaseChannel.cpp:39:1:
 error: when initialized here [-Werror=reorder]
 }}}
 https://treeherder.mozilla.org/#/jobs?repo=try&revision=694420702f16

 I am attaching a patch to fix the issue.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15922>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list