Hartmut Kaiser
d343dda27e
Trying to work around a SUN 5.8 compiler error.
...
[SVN r39686]
2007-10-04 17:49:20 +00:00
Vladimir Prus
8329c28a1a
Apply patch to fix gcc warning.
...
Fixes #1209 .
[SVN r38871]
2007-08-23 19:51:47 +00:00
Vladimir Prus
cd647f785a
Fix #898 . Two approximate matches followed by an exact match
...
no longer cause an ambiguity to be reported.
[SVN r38187]
2007-07-11 19:07:44 +00:00
Vladimir Prus
c00c4a57db
Define static const member in .cpp. Fixes #646 .
...
[SVN r38108]
2007-06-28 07:05:50 +00:00
Vladimir Prus
232894cb3d
Add missing include, to try to fix compilation on sun
...
[SVN r37005]
2007-02-19 19:27:54 +00:00
Vladimir Prus
026c527d8d
Workaround "interator incremented past the end" assertion in MSVC-8.0.
...
[SVN r33776]
2006-04-24 08:00:13 +00:00
Vladimir Prus
5e4b39d672
Fix SF bug 1395874. When both "all" and "all-chroots" options were registered
...
and "--all" was specified on command line and approximation was on,
ambiguity was reported. Now, "all" is recognized.
[SVN r32263]
2006-01-09 09:06:24 +00:00
Vladimir Prus
6e7b140c98
Fix asserts in format_paragraph on VC 8.0 -- the reverse iterator was
...
incorrectly used. Generally clean up the code.
[SVN r32133]
2005-12-22 09:29:14 +00:00
Douglas Gregor
e6e1ef29db
Fixup uses of max
...
[SVN r30059]
2005-07-13 16:32:41 +00:00
Vladimir Prus
5af27a78e7
Use boost::throw_exception instead just throw_exception. Otherwise, borland
...
"forgets" to generate code for the function call.
[SVN r29614]
2005-06-16 10:29:49 +00:00
Vladimir Prus
c984d59de1
Refactor the command line parser so that it uses options_description,
...
as opposed to having his own data structures. Clean up option description
classes a bit, removing unneeded methods. Remove support for 'implicit'
options.
[SVN r28413]
2005-04-22 13:35:45 +00:00
Hartmut Kaiser
7b23670e4d
Improved readability in certain cases.
...
[SVN r27896]
2005-03-31 06:55:01 +00:00
Vladimir Prus
cb9bd037d9
Fix 64-bit portability problem.
...
Patch from Jonathan Wakely. Original explanation follows:
The attached patch fixes a 64 bit portability problem where
std::string::size_type is assigned to unsigned, which is shorter
than size_t on x86-64 and so will be truncated. This means the
following comparison to std::string::npos is always false.
[SVN r27772]
2005-03-23 11:11:55 +00:00
Vladimir Prus
58d35a27b9
Change "throw" to "throw_exception".
...
[SVN r27398]
2005-02-16 09:03:19 +00:00
Vladimir Prus
934e96dcef
Workaround for borland
...
[SVN r26757]
2005-01-20 07:29:17 +00:00
Vladimir Prus
87558bfe7c
Added wordwrapping and improved intentation for options_description
...
output.
Patch from Bertolt Mildner.
[SVN r26679]
2005-01-12 12:05:47 +00:00
Vladimir Prus
44d5ba98c1
Improve 'bool_switch' -- don't accept any argument on the command line.
...
Allow to set 'zero_tokens' flag for the typed_value type.
[SVN r25105]
2004-09-15 09:49:00 +00:00
Vladimir Prus
138d959d68
Don't instantiate std::vector with incomplete type, this is not allowed.
...
Thanks to Jonathan Wakely for the report.
[SVN r23942]
2004-07-22 07:39:34 +00:00
Vladimir Prus
f084eeac4b
Applied numerious suggestions from Pavel Vozenilek.
...
[SVN r23496]
2004-07-13 15:12:26 +00:00
Vladimir Prus
b6f9e1f367
Workaround for vc6/vc7.
...
[SVN r23081]
2004-06-11 06:11:34 +00:00
Vladimir Prus
b184eaeadb
Don't pass variables of different types to std::max, since this break
...
template argument deduction. It appears that on Darwin, unsigned and size_t
are different types.
[SVN r22915]
2004-05-25 07:00:32 +00:00
Vladimir Prus
196f6c0b5b
Import revision 295 of the program_options library.
...
[SVN r22823]
2004-05-14 13:40:31 +00:00