Closed Bug 1347071 Opened 9 years ago Closed 9 years ago

LocaleService.cpp:96:83: error: 'do_GetService' was not declared in this scope

Categories

(Core :: Internationalization, defect, P2)

55 Branch
Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox55 --- affected

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

When building Fennec with ac_add_options --with-intl-api=no, it causes the following build error 0:02.38 In file included from /mozilla/objdir-android/intl/locale/Unified_cpp_intl_locale0.cpp:11:0: 0:02.38 /mozilla/mobile/intl/locale/LocaleService.cpp: In member function 'bool mozilla::intl::LocaleService::GetRequestedLocales(nsTArray<nsCString>&)': 0:02.38 /mozilla/mobile/intl/locale/LocaleService.cpp:96:83: error: 'do_GetService' was not declared in this scope 0:02.38 nsCOMPtr<nsIPrefBranch> prefs(do_GetService("@mozilla.org/preferences-service;1")); 0:02.38 ^ To begin with, prefs is unused, so we should remove this line.
Sorry for that! The fix is in bug 1346617 which should land today.
Depends on: 1346617
(In reply to Zibi Braniecki [:gandalf][:zibi] from comment #1) > Sorry for that! > > The fix is in bug 1346617 which should land today. Thanks.
This should be fixed now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.