Closed
Bug 402148
Opened 18 years ago
Closed 18 years ago
ac_add_options --disable-logging breaks build
Categories
(Core :: Networking: Cookies, defect)
Core
Networking: Cookies
Tracking
()
RESOLVED
FIXED
mozilla1.9beta1
People
(Reporter: masmullin, Assigned: masmullin)
Details
Attachments
(1 file, 1 obsolete file)
1.11 KB,
patch
|
Details | Diff | Splinter Review |
Build breaks if I have disable-logging enabled.
Steps to Reproduct
1. Build with the following mozconfig
mk_add_options MOZ_OBJDIR=/Users/coren/mozilla/OBJ_DIRS/optimized/ff
ac_add_options --enable-application=browser
ac_add_options --enable-optimize="-O2 -g"
ac_add_options --disable-debug
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --disable-libxul
ac_add_options --disable-tests
#ac_add_options --disable-logging
ac_add_options --enable-prebinding
ac_add_options --enable-strip
mk_add_options MOZ_MAKE_FLAGS=-j8
2. uncomment ac_add_options --disable-loggin
3. rebuild
Expected results
Build completes successfully
Actual Results
cc1plus: warnings being treated as errors
/Users/coren/mozilla/src/mozilla/netwerk/cookie/src/nsCookieService.cpp: In member function ‘void nsCookieService::RemoveExpiredCookies(PRInt64)’:
/Users/coren/mozilla/src/mozilla/netwerk/cookie/src/nsCookieService.cpp:2054: warning: unused variable ‘initialCookieCount’
make[6]: *** [nsCookieService.o] Error 1
make[5]: *** [libs] Error 2
make[4]: *** [libs] Error 2
make[3]: *** [libs_tier_necko] Error 2
make[2]: *** [tier_necko] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2
real 2m13.734s
user 2m31.601s
sys 0m38.884s
Assignee | ||
Comment 1•18 years ago
|
||
Solves compiling problem for me
Assignee | ||
Comment 2•18 years ago
|
||
Alternative Patch. Reads nicer.
Attachment #287157 -
Attachment is obsolete: true
Comment 3•18 years ago
|
||
checked this in as a bustage fix for bug 401998. thanks for filing and patching!
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Assignee: nobody → masmullin
Updated•18 years ago
|
Component: Build Config → Networking: Cookies
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: build.config → networking.cookies
Hardware: PC → All
Target Milestone: --- → mozilla1.9 M9
You need to log in
before you can comment on or make changes to this bug.
Description
•