This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17256] [3.4/4.0/4.1 Regression] undefined but used static or inline functions should be diagnosed
- From: "phython at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 06:42:54 -0000
- Subject: [Bug c++/17256] [3.4/4.0/4.1 Regression] undefined but used static or inline functions should be diagnosed
- References: <bug-17256-230@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from phython at gcc dot gnu dot org 2005-10-11 06:42 -------
Created an attachment (id=9963)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9963&action=view)
testcase
This patch also changes the error in:
static void f();
void g() { f(); }
into a warning.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17256