From c71c907bcc014b0ec0ab9c4de213d0fda184a966 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 26 May 2004 06:25:56 +0000 Subject: [PATCH] Disable parse_config_file specialization for wchar_t if we don't have wstring. [SVN r22925] --- src/parsers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/parsers.cpp b/src/parsers.cpp index 44a786d..ea3da4d 100644 --- a/src/parsers.cpp +++ b/src/parsers.cpp @@ -267,10 +267,12 @@ namespace boost { namespace program_options { parse_config_file(std::basic_istream& is, const options_description& desc); +#ifndef BOOST_NO_STD_WSTRING template basic_parsed_options parse_config_file(std::basic_istream& is, const options_description& desc); +#endif // This versio, which accepts any options without validation, is disabled, // in the hope that nobody will need it and we cant drop it altogether.