Closed
Bug 1297906
Opened 8 years ago
Closed 8 years ago
-Werror=unused-result causing bustage in suite/
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(seamonkey2.48 fixed)
RESOLVED
FIXED
seamonkey2.48
Tracking | Status | |
---|---|---|
seamonkey2.48 | --- | fixed |
People
(Reporter: ewong, Assigned: ewong)
Details
Attachments
(1 file, 2 obsolete files)
4.82 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
bustage in line with the warnings that have been busting us for some time. mkdir -p '.deps/' /usr/bin/ccache /builds/slave/c-cen-t-lnx/build/gcc/bin/g++ -m32 -march=pentiumpro -std=gnu++11 -o nsFeedSniffer.o -c -I/builds/slave/c-cen-t-lnx/build/objdir/dist/stl_wrappers -I/builds/slave/c-cen-t-lnx/build/objdir/dist/system_wrappers -include /builds/slave/c-cen-t-lnx/build/mozilla/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -I/builds/slave/c-cen-t-lnx/build/suite/feeds/src -I/builds/slave/c-cen-t-lnx/build/objdir/suite/feeds/src -I/builds/slave/c-cen-t-lnx/build/objdir/dist/include -I/builds/slave/c-cen-t-lnx/build/objdir/dist/include/nspr -I/builds/slave/c-cen-t-lnx/build/objdir/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/slave/c-cen-t-lnx/build/objdir/mozilla-config.h -MD -MP -MF .deps/nsFeedSniffer.o.pp -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -gdwarf-2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -D_GLIBCXX_USE_CXX11_ABI=0 -pipe -gdwarf-2 -freorder-blocks -Os -fno-omit-frame-pointer -Werror /builds/slave/c-cen-t-lnx/build/suite/feeds/src/nsFeedSniffer.cpp /builds/slave/c-cen-t-lnx/build/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.5/../../../../x86_64-unknown-linux-gnu/bin/as: /lib64/libz.so.1: no version information available (required by /builds/slave/c-cen-t-lnx/build/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.8.5/../../../../x86_64-unknown-linux-gnu/bin/as) ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp: In member function 'nsresult nsNetscapeProfileMigratorBase::CopySignatureFiles(nsNetscapeProfileMigratorBase::PBStructArray&, nsIPrefService*)': ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp:783:90: error: ignoring return value of function declared with attribute warn_unused_result [-Werror=unused-result] srcSigFile->SetPersistentDescriptor(nsDependentCString(pref->stringValue)); ^ ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp:802:65: error: ignoring return value of function declared with attribute warn_unused_result [-Werror=unused-result] targetSigFile->GetPersistentDescriptor(descriptorString); ^ ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp: In member function 'nsresult nsNetscapeProfileMigratorBase::CopyMailFolderPrefs(nsNetscapeProfileMigratorBase::PBStructArray&, nsIPrefService*)': ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp:882:70: error: ignoring return value of function declared with attribute warn_unused_result [-Werror=unused-result] targetMailFolder->CreateUnique(nsIFile::DIRECTORY_TYPE, 0777); ^ ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp:889:68: error: ignoring return value of function declared with attribute warn_unused_result [-Werror=unused-result] targetMailFolder->GetPersistentDescriptor(descriptorString); ^ ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp:906:56: error: ignoring return value of function declared with attribute warn_unused_result [-Werror=unused-result] nsDependentCString(pref->stringValue)); ^ ../../../../../suite/profile/migration/src/nsNetscapeProfileMigratorBase.cpp:920:68: error: ignoring return value of function declared with attribute warn_unused_result [-Werror=unused-result] targetNewsRCFile->GetPersistentDescriptor(descriptorString); ^ cc1plus: all warnings being treated as errors make[4]: *** [nsNetscapeProfileMigratorBase.o] Error 1
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8784636 -
Flags: review?(iann_bugzilla)
Comment on attachment 8784636 [details] [diff] [review] proposed patch From the looks of Bug 736501 this has been around a while, why is it biting us now? r/a=me
Attachment #8784636 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8784636 -
Attachment is obsolete: true
Attachment #8784706 -
Flags: review?(iann_bugzilla)
Comment on attachment 8784706 [details] [diff] [review] proposed patch (v2) r/a=me
Attachment #8784706 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Comment 6•8 years ago
|
||
Third time's a charm. (was tested on a linux slave... builds ok)
Attachment #8784706 -
Attachment is obsolete: true
Attachment #8784723 -
Flags: review?(iann_bugzilla)
Assignee | ||
Comment 7•8 years ago
|
||
https://hg.mozilla.org/comm-central/rev/7ca0a0644ba1b5c69d47a840f08a917f66f9546e Bug 1297906 - Properly respond to the return value. r+a=IanN
Comment on attachment 8784723 [details] [diff] [review] proposed patch (v3) retrospective r=me
Attachment #8784723 -
Flags: review?(iann_bugzilla) → review+
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.48
Assignee | ||
Updated•8 years ago
|
status-seamonkey2.48:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•