Closed Bug 1337129 Opened 8 years ago Closed 8 years ago

include LocaleService.h not found from gtest/TestLocaleService.cpp:7:27

Categories

(Core :: Internationalization, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: aceman, Unassigned)

References

Details

Attachments

(1 file)

I get a permanent compile error: mozilla/intl/locale/tests/gtest/TestLocaleService.cpp:7:27: fatal error: LocaleService.h: File does not exist This is on Slackware linux, 64 bit, gcc 5.4. This appeared somewhere in the last month (I updated from Dec 20th straight to Feb 04th 2017). I do have that file in src/intl/locale and in objdir/dist/include/mozilla/intl/ , which seems correct. As discussed on IRC (#developers), changing to #include "../../localeService.h" fixes compiling that file.
:jfkthame - should we do something about our include paths?
Flags: needinfo?(jfkthame)
:aceman, if you apply this patch, does it resolve the problem for you?
Flags: needinfo?(jfkthame) → needinfo?(acelists)
Yes, this works for me, thanks.
Flags: needinfo?(acelists)
Comment on attachment 8834427 [details] [diff] [review] Fix up #include paths used in unit tests for new intl services I think this is a more correct way to deal with the paths.
Attachment #8834427 - Flags: review?(gandalf)
Comment on attachment 8834427 [details] [diff] [review] Fix up #include paths used in unit tests for new intl services lgtm!
Attachment #8834427 - Flags: review?(gandalf) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/18d066fac5dbd8ba11a61b650c65c88547fc8c6a Bug 1337129 - Fix up #include paths used in unit tests for new intl services. r=gandalf
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: