From 47a0fa12397770ea49ea80f164dba8e0f82e97d1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 13 Dec 2009 10:32:44 +0200 Subject: Mark 'stdout' as a reserved name On some platforms (e.g., Windows/VC++ 8.0) stdout is a macro. --- cli/options.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/options.cxx') diff --git a/cli/options.cxx b/cli/options.cxx index 4e8b67d..5acc325 100644 --- a/cli/options.cxx +++ b/cli/options.cxx @@ -505,7 +505,7 @@ options (int& argc, html_prologue_ (), html_epilogue_ (), class__ (), - stdout_ (), + stdout__ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), cxx_suffix_ (".cxx"), @@ -547,7 +547,7 @@ options (int start, html_prologue_ (), html_epilogue_ (), class__ (), - stdout_ (), + stdout__ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), cxx_suffix_ (".cxx"), @@ -589,7 +589,7 @@ options (int& argc, html_prologue_ (), html_epilogue_ (), class__ (), - stdout_ (), + stdout__ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), cxx_suffix_ (".cxx"), @@ -633,7 +633,7 @@ options (int start, html_prologue_ (), html_epilogue_ (), class__ (), - stdout_ (), + stdout__ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), cxx_suffix_ (".cxx"), @@ -673,7 +673,7 @@ options (::cli::scanner& s, html_prologue_ (), html_epilogue_ (), class__ (), - stdout_ (), + stdout__ (), hxx_suffix_ (".hxx"), ixx_suffix_ (".ixx"), cxx_suffix_ (".cxx"), @@ -824,7 +824,7 @@ struct _cli_options_map_init _cli_options_map_["--class"] = &::cli::thunk< options, std::string, &options::class__ >; _cli_options_map_["--stdout"] = - &::cli::thunk< options, bool, &options::stdout_ >; + &::cli::thunk< options, bool, &options::stdout__ >; _cli_options_map_["--hxx-suffix"] = &::cli::thunk< options, std::string, &options::hxx_suffix_ >; _cli_options_map_["--ixx-suffix"] = -- cgit v1.1