Closed
Bug 837730
Opened 11 years ago
Closed 11 years ago
updater does not compile on some linux platforms due to missing NULL definition
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: romaxa, Assigned: tatiana)
Details
Attachments
(1 file, 2 obsolete files)
777 bytes,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
readstrings.h seem require #include <unistd.h> c++ -o progressui_null.o -c -fvisibility=hidden -DNO_NSPR_10_SUPPORT -DNS_NO_XPCOM -DMAR_CHANNEL_ID='""' -DMOZ_APP_VERSION='"21.0a1"' -I/mozilla-central/toolkit/mozapps/update/updater/../common -I/mozilla-central/toolkit/mozapps/update/updater -I. -I../../../../dist/include -I/mozilla-central/obj-build-n9-qt/dist/include/nspr -I/mozilla-central/obj-build-n9-qt/dist/include/nss -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-invalid-offsetof -DFORCE_BASICTILEDTHEBESLAYER=1 -DEGL_HAS_BACKING_SURFACE=1 -DUSE_ANDROID_OMTC_HACKS=1 -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -gdwarf-2 -Os -freorder-blocks -fno-omit-frame-pointer -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -MD -MF .deps/progressui_null.o.pp /mozilla-central/toolkit/mozapps/update/updater/progressui_null.cpp In file included from /mozilla-central/toolkit/mozapps/update/updater/../common/updatedefines.h:8, from /mozilla-central/toolkit/mozapps/update/updater/progressui.h:10, from /mozilla-central/toolkit/mozapps/update/updater/progressui_null.cpp:7: /mozilla-central/toolkit/mozapps/update/updater/../common/readstrings.h:37: error: 'NULL' was not declared in this scope
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → tanya.meshkova
Status: NEW → ASSIGNED
Attachment #712713 -
Flags: review?(robert.bugzilla)
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #712713 -
Attachment is obsolete: true
Attachment #712713 -
Flags: review?(robert.bugzilla)
Attachment #713103 -
Flags: review?(robert.bugzilla)
Comment 3•11 years ago
|
||
Comment on attachment 713103 [details] [diff] [review] include unistd.h I think the following outside of the existing #else block is cleaner and already used extensively throughtout the code http://mxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/common_types.h#30 http://mxr.mozilla.org/mozilla-central/search?string=%23ifndef%20NULL
Attachment #713103 -
Flags: review?(robert.bugzilla) → review-
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #713103 -
Attachment is obsolete: true
Attachment #713253 -
Flags: review?(robert.bugzilla)
Updated•11 years ago
|
Attachment #713253 -
Flags: review?(robert.bugzilla) → review+
Reporter | ||
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Attachment #713253 -
Attachment is patch: true
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d4d1aca6c29
Keywords: checkin-needed
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d4d1aca6c29
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•