[PATCH 01/12] Fix compile time warning messages building with gcc v6.1.1

Mike Frysinger vapier@gentoo.org
Wed Nov 10 00:14:20 GMT 2021


From: Nick Clifton <nickc@redhat.com>

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.
---
 etc/ChangeLog   | 5 +++++
 etc/texi2pod.pl | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/etc/ChangeLog b/etc/ChangeLog
index c1103382652a..1864bf0c89f4 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 dd3e181db34c..0f465b7c768c 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";
-- 
2.33.0



More information about the Newlib mailing list