On 1/18/26 4:38 PM, Steve Kargl wrote:
On Sun, Jan 18, 2026 at 03:44:55PM -0800, Jerry D wrote:
On 1/18/26 1:56 PM, Harald Anlauf wrote:
--- snip ---
Hi Jerry,

technically speaking, the following error may confuse users as it
is a little misleading:

How about this?

$ gfc z1.f90
z1.f90:7:17:

     7 |     import c_int, c_char
       |                 1
Error: ‘c_int’ at (1) is already available and cannot be imported.


Simply remove "already" in from my original patch.

+              gfc_error ("import-name %qs at %C is in the "
+                         "local scope", name);


That works for me, I will make it so.

Jerry

Reply via email to