public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/17807] New: No warning/error for undefined local function.
@ 2004-10-03 12:35 rth at gcc dot gnu dot org
  2004-10-03 15:04 ` [Bug c/17807] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-10-03 12:35 UTC (permalink / raw)
  To: gcc-bugs

int main(void)
{
    auto int bar(int);
    bar(5);
}

$ gcc z.c
/tmp/ccw5BsKp.o(.text+0x18): In function `main':
: undefined reference to `bar.0'
collect2: ld returned 1 exit status

Which isn't the best of error messages.

Mainline actually ICE's on this.

-- 
           Summary: No warning/error for undefined local function.
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17807


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

end of thread, other threads:[~2005-02-01 23:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-03 12:35 [Bug c/17807] New: No warning/error for undefined local function rth at gcc dot gnu dot org
2004-10-03 15:04 ` [Bug c/17807] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-03 19:59 ` pinskia at gcc dot gnu dot org
2004-10-04 17:57 ` pinskia at gcc dot gnu dot org
2004-10-05  4:30 ` pinskia at gcc dot gnu dot org
2004-10-19  0:48 ` pinskia at gcc dot gnu dot org
2004-11-25 20:52 ` pinskia at gcc dot gnu dot org
2005-01-07 22:26 ` pinskia at gcc dot gnu dot org
2005-02-01 23:03 ` jsm28 at gcc dot gnu dot 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).