This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17851] [3.4/4.0 regression] Misleading diagnostic for invalid function declarations with undeclared types
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2004 23:07:14 -0000
- Subject: [Bug c++/17851] [3.4/4.0 regression] Misleading diagnostic for invalid function declarations with undeclared types
- References: <20041005200518.17851.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-12 23:07 -------
Fixed with Mark's patch for PR 15786.
With mainline I now get:
err.cc:3: error: `size_t' has not been declared
err.cc:8: error: `size_t' has not been declared
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17851