Commit Graph

29 Commits

Author SHA1 Message Date
Vladimir Prus
9281df58d2 Include wchar.h so that mbstate_t is available in global namespace. Maybe,
I should revert the last patch, which made the file use ::mbstate_t as
opposed to std::mbstate_t, but I'm waiting for Pavel to tell why it was
necessary to use ::mbstate_t and if this version of borland can be made
to work in some other way.


[SVN r23528]
2004-07-14 08:36:58 +00:00
Vladimir Prus
f084eeac4b Applied numerious suggestions from Pavel Vozenilek.
[SVN r23496]
2004-07-13 15:12:26 +00:00
Vladimir Prus
fec30e0c6c Workaround bugs in std::vector<bool> on msvc 7.1.
Thanks to Rob Lievaart for reporting/diagnosing this.


[SVN r23372]
2004-07-06 15:48:48 +00:00
Vladimir Prus
7a614e26ef More declspecs.
[SVN r23280]
2004-06-30 07:16:09 +00:00
Vladimir Prus
82ecb460b3 Add missing DLL exports for Windows.
[SVN r23249]
2004-06-29 07:36:09 +00:00
Vladimir Prus
75a6e42360 Patch from Janusz Piwowarski, to make the library work on mingw, despite
the fact the mingw does not have std::wstring. The patch disables wchar_t
support, but it allows the rest of the library to work ok.


[SVN r23111]
2004-06-17 12:34:59 +00:00
Vladimir Prus
7c452dcfac Another attempt to make sun happy.
[SVN r23108]
2004-06-17 07:00:01 +00:00
Vladimir Prus
df45b22508 More vc6 workarounds.
[SVN r23101]
2004-06-15 09:15:32 +00:00
Vladimir Prus
b6f9e1f367 Workaround for vc6/vc7.
[SVN r23081]
2004-06-11 06:11:34 +00:00
Vladimir Prus
b441ebab91 Restructure the implementation to avoid the need to specialize member
templates, which does not work on some compilers.

* new 'to_internal' function which takes a vector.
* new 'common_command_line_parser' class.


[SVN r23054]
2004-06-08 08:14:09 +00:00
Vladimir Prus
990ae86a20 Convert the 'validator' class into 'validate' function. Add a fake parameter
to specify type to convert to, and long/int parameter to fake partial template
ordering. Hopefully, this will work on some broken compilers.


[SVN r23052]
2004-06-08 07:06:44 +00:00
Vladimir Prus
d6bea29bce Rename value_semantic_codecvt_helper::parse to xparse, to avoid warnings
about overloading vs. overriding. The warning is wrong, but both gcc and
Comeau emit it.


[SVN r23050]
2004-06-08 05:07:56 +00:00
Vladimir Prus
2466bdea09 Introduce new 'to_internal' function. Don't specialize
basic_config_file_iterator::getline on wchar_t, since that causes problems
with borland and vc7.


[SVN r23043]
2004-06-07 14:10:55 +00:00
Vladimir Prus
1382cbcc3c More size_t -> std::size_t conversion. Drop "throw()" from do_length
method in codecvt -- it's not needed there.


[SVN r22995]
2004-06-02 06:12:45 +00:00
Vladimir Prus
f903b7acbb Fix a typo. Workaround lack of std::size_t.
[SVN r22992]
2004-06-01 08:56:42 +00:00
Vladimir Prus
398c5acb84 More metrowerks fixes.
[SVN r22980]
2004-05-31 07:13:19 +00:00
Vladimir Prus
a75d21dafb Workaround member template specialization bug on Metrowerks.
[SVN r22961]
2004-05-28 08:17:40 +00:00
Vladimir Prus
928a51d8d9 Qualify mbstate_t with std::. Prior version expected the type to exist in
global namespace.


[SVN r22923]
2004-05-26 06:06:40 +00:00
Vladimir Prus
5308f44756 Remove extra ";".
[SVN r22922]
2004-05-26 05:59:58 +00:00
Vladimir Prus
74b11a8ad4 Attempt at fixing access to private member from nested class on Sun compiler.
[SVN r22917]
2004-05-25 07:23:09 +00:00
Vladimir Prus
ef7ff253c7 Add missing includes.
[SVN r22912]
2004-05-25 06:03:08 +00:00
Vladimir Prus
b0a5de3390 Fix typo.
[SVN r22885]
2004-05-21 06:44:33 +00:00
Vladimir Prus
90d97c127e Try to workaround mbstate_t problems on intel.
[SVN r22874]
2004-05-20 07:29:11 +00:00
Vladimir Prus
9863eadfa6 Change size_t to unsigned in one place.
[SVN r22868]
2004-05-19 05:50:19 +00:00
Vladimir Prus
e3e29890c0 Don't use trailing comma in enumerators, this appears to be
non-standard usage.


[SVN r22844]
2004-05-17 06:45:48 +00:00
Vladimir Prus
22ce34161e Add missing include
[SVN r22843]
2004-05-17 06:42:16 +00:00
Vladimir Prus
62115637be Random attempt to fix vc7 bug
[SVN r22842]
2004-05-17 06:35:15 +00:00
Vladimir Prus
81d75d870d Don't redefine default value.
[SVN r22841]
2004-05-17 06:13:38 +00:00
Vladimir Prus
196f6c0b5b Import revision 295 of the program_options library.
[SVN r22823]
2004-05-14 13:40:31 +00:00