[newlib-cygwin] Fix compile time warning messages building with gcc v6.1.1

Michael Frysinger vapier@sourceware.org
Thu Nov 11 01:15:40 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=babc07f7ef1676f15dbeeff498c6b6a8e03ccac6

commit babc07f7ef1676f15dbeeff498c6b6a8e03ccac6
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 13 10:49:26 2016 +0100

    Fix compile time warning messages building with gcc v6.1.1
    
    etc     * texi2pod.pl: Escape curly braces, whilst searching for keyword
            strong.
    
    gas     * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
            that are not supported.
    
            * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
            constant.
            * config/tc-cr16.c (check_range): Likewise.
            * config/tc-nios2.c (nios2_check_overflow): Likewise.

Diff:
---
 etc/ChangeLog   | 5 +++++
 etc/texi2pod.pl | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/etc/ChangeLog b/etc/ChangeLog
index c11033826..1864bf0c8 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,8 @@
+2016-06-13  Nick Clifton  <nickc@redhat.com>
+
+	* texi2pod.pl: Escape curly braces, whilst searching for keyword
+	strong.
+
 2016-03-18  Nick Clifton  <nickc@redhat.com>
 
 	* texi2pod.pl: Add TARGET to the list of recognised man page
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index dd3e181db..0f465b7c7 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -311,7 +311,7 @@ while(<$inf>) {
 	@columns = ();
 	for $column (split (/\s*\@tab\s*/, $1)) {
 	    # @strong{...} is used a @headitem work-alike
-	    $column =~ s/^\@strong{(.*)}$/$1/;
+	    $column =~ s/^\@strong\{(.*)\}$/$1/;
 	    push @columns, $column;
 	}
 	$_ = "\n=item ".join (" : ", @columns)."\n";


More information about the Cygwin-cvs mailing list