[ wxwindows-Patches-1532503 ] misc fix for wxVsnprintf() test

SourceForge.net noreply at sourceforge.net
Tue Aug 1 08:21:29 PDT 2006


Patches item #1532503, was opened at 2006-08-01 15:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1532503&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Francesco Montorsi (frm)
Assigned to: Nobody/Anonymous (nobody)
Summary: misc fix for wxVsnprintf() test

Initial Comment:
I've found that under different compilers with
different implementation of the snprintf() the current
test unit for wxVsnprintf() can fail even if wx's
implementation of wxVsnprintf() is not used at all!

To avoid to do tests on the system implementation of
snprintf() this patch makes sure that the test unit is
compiled only when the wxWidgets implementation of
wxVsnprintf() is being used.
It also changes the tests so that the line number
reported by CppUnit in case of failure is the correct
one and makes the tests more compact.

Finally, it fix two typos in configure.in about
wxUSE_PRINTF_POS_PARAMS.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1532503&group_id=9863




More information about the wx-dev mailing list