public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13437] New: forward declaration in function scope hides inline
@ 2003-12-19  4:24 melkov at comptek dot ru
  2003-12-19  4:25 ` [Bug c++/13437] " melkov at comptek dot ru
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: melkov at comptek dot ru @ 2003-12-19  4:24 UTC (permalink / raw)
  To: gcc-bugs

/usr/local/egcs-3/bin/c++ test.cpp
/var/tmp//ccdg0amh.o: In function `main':
/var/tmp//ccdg0amh.o(.text+0x11): undefined reference to `f()'

* 'inline' removed -> OK
* f declaration removed -> OK
(2.95.4 compiles that fine)

==> test.cpp <==
inline void f() {}
int main() {
  void f();
  f();
  return 0;
}

-- 
           Summary: forward declaration in function scope hides inline
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: melkov at comptek dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-freebsd-gnu
  GCC host triplet: i686-freebsd-gnu
GCC target triplet: i686-freebsd-gnu


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


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

end of thread, other threads:[~2004-04-18 18:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-19  4:24 [Bug c++/13437] New: forward declaration in function scope hides inline melkov at comptek dot ru
2003-12-19  4:25 ` [Bug c++/13437] " melkov at comptek dot ru
2003-12-19  4:29 ` [Bug c++/13437] [3.3 Regression] " pinskia at gcc dot gnu dot org
2003-12-19  4:38 ` pinskia at gcc dot gnu dot org
2003-12-19  4:53 ` pinskia at gcc dot gnu dot org
2003-12-19  4:59 ` pinskia at gcc dot gnu dot org
2003-12-19  5:01 ` pinskia at gcc dot gnu dot org
2003-12-19  5:25 ` pinskia at gcc dot gnu dot org
2003-12-29 18:48 ` pinskia at gcc dot gnu dot org
2004-01-29  5:03 ` gdr at gcc dot gnu dot org
2004-01-29  5:09 ` pinskia at gcc dot gnu dot org
2004-04-18 18:25 ` gdr 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).