You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/07/15 19:35:07 UTC
DO NOT REPLY [Bug 10834] New: -
Update version header to handle two digit revision and patch levels
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10834>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10834
Update version header to handle two digit revision and patch levels
Summary: Update version header to handle two digit revision and
patch levels
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: rbuck@mathworks.com
The version header currently only supports ( safely ) single digit minor and
patch level version numbers. Update the scheme to support two digit varieties
of each while guaranteeing strict ordering of version numbers.
Change the version header as follows (a patch will be uploaded soon as well):
// ---------------------------------------------------------------------------
// C A L C U L A T E V E R S I O N - E X P A N D E D F O R M
#define MULTIPLY(factor,value) factor * value
#define CALC_EXPANDED_FORM(a,b,c) ( MULTIPLY(10000,a) + MULTIPLY(100,b) +
MULTIPLY(1,c) )
// ---------------------------------------------------------------------------
// P R O D U C T V E R S I O N I N F O R M A T I O N
// PREPROCESSOR MACROS
#define _XERCES_VERSION CALC_EXPANDED_FORM
(XERCES_VERSION_MAJOR,XERCES_VERSION_MINOR,XERCES_VERSION_REVISION)
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org