From: Bruno Haible Date: Thu, 22 Jun 2006 15:35:31 +0000 (+0000) Subject: Avoid mcs warning for -g. X-Git-Tag: v0.15~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=507a7b323c7df03dae699fe8915c11ac68f4ab7a;p=thirdparty%2Fgettext.git Avoid mcs warning for -g. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index e85ad8af3..08fee7aa0 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -2,7 +2,7 @@ Avoid warnings from recent versions of mcs. * csharpcomp.sh.in (options_mcs): Don't use options -o, -L, -r any - more. Use options documented since mcs-1.0 instead. + more. Use options documented since mcs-1.0 instead. Similarly for -g. * csharpcomp.c (compile_csharp_using_mono): Likewise. 2006-06-17 Bruno Haible diff --git a/gettext-tools/lib/csharpcomp.c b/gettext-tools/lib/csharpcomp.c index 71f8ae82b..cbc6520fb 100644 --- a/gettext-tools/lib/csharpcomp.c +++ b/gettext-tools/lib/csharpcomp.c @@ -244,7 +244,7 @@ compile_csharp_using_mono (const char * const *sources, *argp++ = option; } if (debug) - *argp++ = "-g"; + *argp++ = "-debug"; for (i = 0; i < sources_count; i++) { const char *source_file = sources[i]; diff --git a/gettext-tools/lib/csharpcomp.sh.in b/gettext-tools/lib/csharpcomp.sh.in index e4b1a4e33..1e2ab546a 100644 --- a/gettext-tools/lib/csharpcomp.sh.in +++ b/gettext-tools/lib/csharpcomp.sh.in @@ -106,7 +106,7 @@ while test $# != 0; do ;; -g) options_cscc="$options_cscc -g" - options_mcs="$options_mcs -g" + options_mcs="$options_mcs -debug" options_csc="$options_csc -debug+" ;; -*)