[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #64312] [mmroff] throws spurious Perl warnings if INITR/PIC used
From: |
G. Branden Robinson |
Subject: |
[bug #64312] [mmroff] throws spurious Perl warnings if INITR/PIC used |
Date: |
Fri, 16 Jun 2023 13:23:15 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64312>
Summary: [mmroff] throws spurious Perl warnings if INITR/PIC
used
Group: GNU roff
Submitter: gbranden
Submitted: Fri 16 Jun 2023 05:23:13 PM UTC
Category: Macro mm
Severity: 2 - Minor
Item Group: Warning/Suspicious behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 16 Jun 2023 05:23:13 PM UTC By: G. Branden Robinson <gbranden>
Affects groff 1.23.0.rc2 and later.
$ file gnu.eps
gnu.eps: PostScript document text conforming DSC level 2.0, type EPS
$ cat EXPERIMENTS/use-PIC.mm
.P
.INITR
Hello,
world!
.PIC gnu.eps
Goodbye,
now!
$ ./build/mmroff EXPERIMENTS/use-PIC.mm >| use-PIC.ps
Use of uninitialized value $max_width in numeric gt (>) at ./build/mmroff line
142.
Use of uninitialized value $max_height in numeric gt (>) at ./build/mmroff
line 143.
Probably caused by this commit.
commit 313497a9664fcb4791b322e4c15508da15f64662
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Sun Oct 9 04:42:52 2022 -0500
contrib/mm/mmroff.pl: Enable Perl warnings.
...but might suggest a logic error. Check it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64312>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #64312] [mmroff] throws spurious Perl warnings if INITR/PIC used,
G. Branden Robinson <=