Closed Bug 402148 Opened 18 years ago Closed 18 years ago

ac_add_options --disable-logging breaks build

Categories

(Core :: Networking: Cookies, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: masmullin, Assigned: masmullin)

Details

Attachments

(1 file, 1 obsolete file)

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
Attached patch Potential Patch (obsolete) — Splinter Review
Solves compiling problem for me
Alternative Patch. Reads nicer.
Attachment #287157 - Attachment is obsolete: true
checked this in as a bustage fix for bug 401998. thanks for filing and patching!
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee: nobody → masmullin
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.

Attachment

General

Creator:
Created:
Updated:
Size: