Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#780 closed Bugs (Fixed)

Unused argument warnings in serialization code

Reported by: cepstein Owned by: az_sw_dude
Milestone: Component: date_time
Version: Boost 1.34.0 Severity:
Keywords: Cc:

Description

The various "version" and "file_version" arguments to the date_time serialization methods are unused, leading to compiler warnings from gcc.

Patch is attached.

Change History (2)

comment:1 by az_sw_dude, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=579686
Originator: NO

This changes has been made in rc 1.34 and the head.  Thanks for the patch!

Jeff

comment:2 by az_sw_dude, 16 years ago

Logged In: YES 
user_id=579686
Originator: NO

Adding record of changed files for fix:
Checking in boost/date_time/gregorian/greg_serialize.hpp;
/cvsroot/boost/boost/boost/date_time/gregorian/greg_serialize.hpp,v  <--  greg_serialize.hpp
new revision: 1.8.6.1; previous revision: 1.8
done
Mailing boost-cvs@lists.sourceforge.net...
Generating notification message...
Generating notification message... done.
Checking in boost/date_time/posix_time/time_serialize.hpp;
/cvsroot/boost/boost/boost/date_time/posix_time/time_serialize.hpp,v  <--  time_serialize.hpp
new revision: 1.7.6.1; previous revision: 1.7
done
Mailing boost-cvs@lists.sourceforge.net...
Generating notification message...
Generating notification message... done.
Checking in libs/date_time/xmldoc/changes.xml;
/cvsroot/boost/boost/libs/date_time/xmldoc/changes.xml,v  <--  changes.xml
new revision: 1.12.4.4; previous revision: 1.12.4.3
done

Checking in boost/date_time/gregorian/greg_serialize.hpp;
/cvsroot/boost/boost/boost/date_time/gregorian/greg_serialize.hpp,v  <--  greg_serialize.hpp
new revision: 1.9; previous revision: 1.8
done
Mailing boost-cvs@lists.sourceforge.net...
Generating notification message...
Generating notification message... done.
Checking in boost/date_time/posix_time/time_serialize.hpp;
/cvsroot/boost/boost/boost/date_time/posix_time/time_serialize.hpp,v  <--  time_serialize.hpp
new revision: 1.8; previous revision: 1.7
done
Mailing boost-cvs@lists.sourceforge.net...
Generating notification message...
Generating notification message... done.
Checking in libs/date_time/xmldoc/changes.xml;
/cvsroot/boost/boost/libs/date_time/xmldoc/changes.xml,v  <--  changes.xml
new revision: 1.16; previous revision: 1.15




Note: See TracTickets for help on using tickets.