Modify

Opened 6 years ago

Closed 6 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.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by viboes

Cc: viboes added
Keywords: 1.48 added
Milestone: Boost 1.48.0To Be Determined
Type: Feature RequestsBugs

comment:2 Changed 6 years ago by viboes

Milestone: To Be DeterminedBoost 1.49.0
Owner: changed from Anthony Williams to viboes
Status: newassigned

Committed in trunk revision 75785.

comment:3 Changed 6 years ago by viboes

Resolution: fixed
Status: assignedclosed

Committed in release at #76291

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.