public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/114295] New: incorrect error location if attempting to compile implementation module without a definition module
@ 2024-03-10 10:29 gaius at gcc dot gnu.org
  2024-03-11 12:11 ` [Bug modula2/114295] " gaius at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-03-10 10:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114295

            Bug ID: 114295
           Summary: incorrect error location if attempting to compile
                    implementation module without a definition module
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

When attempting to compile an implementation module and the definition module
cannot be found the compiler reports the error in the SYSTEM module:

gm2 -g -c impls/UTF8.mod 
/home/gaius/opt/lib/gcc/x86_64-pc-linux-gnu/14.0.1/m2/m2cor/SYSTEM.def:27:19:
error: the file containing the definition module ‘UTF8’ cannot be found
   27 | DEFINITION MODULE SYSTEM ;
      |                   ^~~~~~

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-11 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-10 10:29 [Bug modula2/114295] New: incorrect error location if attempting to compile implementation module without a definition module gaius at gcc dot gnu.org
2024-03-11 12:11 ` [Bug modula2/114295] " gaius at gcc dot gnu.org
2024-03-11 15:22 ` cvs-commit at gcc dot gnu.org
2024-03-11 15:22 ` gaius at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).