From: Nick Clifton Date: Mon, 20 Sep 1999 14:26:59 +0000 (+0000) Subject: Add comment saying that lang_decode_options should not complain about X-Git-Tag: prereleases/libstdc++-2.92~10497 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=03d32d1a0882ca2fa5e93a84784ea926f1c27309;p=thirdparty%2Fgcc.git Add comment saying that lang_decode_options should not complain about unrecognised options. From-SVN: r29522 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3c18a7cff7e..3e424c46064d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 20 15:25:35 1999 Nick Clifton + + * c-decl.c (c_decode_option): Extend comment. + Mon Sep 20 14:43:37 1999 Nick Clifton * toplev.c (progname): Make 'const char *' diff --git a/gcc/c-decl.c b/gcc/c-decl.c index f018d85b6814..75b8ee02b842 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -454,7 +454,8 @@ int warn_multichar = 1; int dollars_in_ident = DOLLARS_IN_IDENTIFIERS; /* Decode the string P as a language-specific option for C. - Return the number of strings consumed. */ + Return the number of strings consumed. Should not complain + if it does not recognise the option. */ int c_decode_option (argc, argv) diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index 8ab549731533..2b9345fdbd24 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,7 @@ +1999-09-20 Nick Clifton + + * lang.c (lang_decode_option): Extend comment. + 1999-09-16 Kaveh R. Ghazi * lex.c (maybe_downcase, getlc, handle_generic_pragma, diff --git a/gcc/ch/lang.c b/gcc/ch/lang.c index 42f90542ffd6..8abecf712cbd 100644 --- a/gcc/ch/lang.c +++ b/gcc/ch/lang.c @@ -161,6 +161,7 @@ GNU_xref_end () /* * process chill-specific compiler command-line options + * do not complain if the option is not recognised */ int lang_decode_option (argc, argv) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 50bcbbb40c35..6b8af6538076 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-09-20 Nick Clifton + + * decl2.c (lang_decode_option): Extend comment. + Mon Sep 20 10:49:05 1999 Bernd Schmidt * typeck.c: Include "tm_p.h". diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 4f589d3b80ad..bb5f5e57e81b 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -532,7 +532,8 @@ lang_f_options[] = /* Decode the string P as a language-specific option. Return the number of strings consumed for a valid option. - Otherwise return 0. */ + Otherwise return 0. Should not complain if it does not + recognise the option. */ int lang_decode_option (argc, argv) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index debc540f0dab..d54145e0406e 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +1999-09-20 Nick Clifton + + * lang.c (lang_decode_option): Extend comment. + 1999-09-16 Kaveh R. Ghazi * gjavah.c (get_field_name, print_method_info, print_include, diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 0a444b4d5e8d..93161efd2c36 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -148,6 +148,7 @@ static int dependency_tracking = 0; /* * process java-specific compiler command-line options + * return 0, but do not complain if the option is not recognised. */ int lang_decode_option (argc, argv)