Closed Bug 790781 Opened 9 years ago Closed 9 years ago
.cpp:409: error: ‘s System Time Observer’ was not declared in this scope
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1 Steps to reproduce: I did hg pull -u to get latest changes in mozilla-central directory. i tried to compile code by make -f client.mk on linux ubuntu platform. Actual results: I got following errors during compilation: The respective file seems to be modified in recent time. Errors 1. /mozilla-central/hal/Hal.cpp:409: error: ‘sSystemTimeObserver’ was not declared in this scope It could be because of template decalration failed. Please suggest necessary patch or repair to it.
9 years ago
Summary: Compile Time Error in latest repository of mozilla-central → Hal.cpp:409: error: ‘sSystemTimeObserver’ was not declared in this scope
This is using C++10 syntax. Do we require a C++10 compiler now?
(er, C++11, of course)
I'm guessing this is the same problem: /Users/jruderman/mozilla-central/hal/Hal.cpp:409:51: error: a space is required between consecutive right angle brackets (use '> >') static StaticAutoPtr<ObserverList<SystemTimeChange>> sSystemTimeObserver; ^~ > > /usr/bin/clang++ --version Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn) Target: x86_64-apple-darwin11.4.0 Thread model: posix Ameya, does https://hg.mozilla.org/mozilla-central/rev/657097e4f430 fix it for you?
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: Untriaged → DOM: Device Interfaces
Product: Firefox → Core
Version: 18 Branch → Trunk
(In reply to Jesse Ruderman from comment #3) > Ameya, does https://hg.mozilla.org/mozilla-central/rev/657097e4f430 fix it > for you? Yes... It seems '<<' to '< <' change is working. Thanks..
You need to log in before you can comment on or make changes to this bug.