Compare commits

...

5 Commits

Author SHA1 Message Date
nobody
ae09177fa1 This commit was manufactured by cvs2svn to create tag
'Version_1_32_0'.

[SVN r26264]
2004-11-19 19:19:18 +00:00
John Maddock
e5a1124f45 Fixed and enabled auto-linking code.
[SVN r26148]
2004-11-08 12:24:56 +00:00
Vladimir Prus
d7332e6464 Merge program_options/IBM fix to RC_1_32_0.
[SVN r26097]
2004-11-03 07:13:23 +00:00
Vladimir Prus
a0488740b9 Merge 1.10->1.11 to RC_1_32_0 (doc fix)
[SVN r26082]
2004-11-02 07:42:53 +00:00
nobody
335b42c952 This commit was manufactured by cvs2svn to create branch 'RC_1_32_0'.
[SVN r25797]
2004-10-20 08:26:43 +00:00
4 changed files with 18 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
#define BOOST_PROGRAM_OPTIONS_CONFIG_HK_2004_01_11
#include <boost/config.hpp>
#include <boost/version.hpp>
// Support for autolinking.
#if BOOST_VERSION >= 103100 // works beginning from Boost V1.31.0
@@ -20,6 +21,10 @@
// Set the name of our library, this will get undef'ed by auto_link.hpp
// once it's done with it:
#define BOOST_LIB_NAME boost_program_options
// tell the auto-link code to select a dll when required:
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROGRAM_OPTIONS_DYN_LINK)
# define BOOST_DYN_LINK
#endif
// And include the header that does the work:
#include <boost/config/auto_link.hpp>

View File

@@ -146,7 +146,11 @@ protected:
const char * from,
const char * from_end,
std::size_t max_limit
) const;
#if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
) const throw();
#else
) const;
#endif
// Largest possible value do_length(state,from,from_end,1) could return.
virtual int do_max_length() const throw () {

View File

@@ -111,11 +111,15 @@ namespace boost { namespace program_options {
*/
basic_command_line_parser(int argc, charT* argv[]);
/** Sets options descriptions to use. */
basic_command_line_parser& options(const options_description& desc);
/** Sets positional options description to use. */
basic_command_line_parser& positional(
const positional_options_description& desc);
/** Sets the command line style. */
basic_command_line_parser& style(int);
/** Sets the extra parsers. */
basic_command_line_parser& extra_parser(ext_parser);
basic_parsed_options<charT> run() const;

View File

@@ -172,7 +172,11 @@ int utf8_codecvt_facet_wchar_t::do_length(
const char * from,
const char * from_end,
std::size_t max_limit
#if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(600))
) const throw()
#else
) const
#endif
{
// RG - this code is confusing! I need a better way to express it.
// and test cases.