Opened 11 years ago
Closed 11 years ago
#5739 closed Bugs (fixed)
set-but-not-used warnings with gcc-4.6
Reported by: | anonymous | Owned by: | viboes |
---|---|---|---|
Milestone: | Boost 1.49.0 | Component: | thread |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | 1.48 | Cc: | viboes |
Description
Dear Anthony,
Thanks for your work with Boost Threads. Would you please consider addressing the following warnings when compiling from svn trunk?
Thanks in advace
libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_time(int, boost::xtime&)’: libs/thread/src/pthread/timeconv.inl:22:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_timespec_duration(const boost::xtime&, timespec&)’: libs/thread/src/pthread/timeconv.inl:59:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_duration(boost::xtime, int&)’: libs/thread/src/pthread/timeconv.inl:90:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable] libs/thread/src/pthread/timeconv.inl: In function ‘void {anonymous}::to_microduration(boost::xtime, int&)’: libs/thread/src/pthread/timeconv.inl:112:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
Ubuntu oneiric alpha, gcc 4.6.1 - 64 bits
R.
Change History (3)
comment:1 by , 11 years ago
Cc: | added |
---|---|
Keywords: | 1.48 added |
Milestone: | Boost 1.48.0 → To Be Determined |
Type: | Feature Requests → Bugs |
comment:2 by , 11 years ago
Milestone: | To Be Determined → Boost 1.49.0 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in release at #76291
Committed in trunk revision 75785.