This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24449] Unable to declare friend main() from class template
- From: "machata at post dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2005 15:25:13 -0000
- Subject: [Bug c++/24449] Unable to declare friend main() from class template
- References: <bug-24449-11554@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from machata at post dot cz 2005-11-16 15:25 -------
Created an attachment (id=10251)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10251&action=view)
Check if we are really declaring template ::main.
I believe that this patch does the right thing. I've done bootstrap on
i686-pc-linux-gnu, but I won't be able to run testsuite before friday.
--
machata at post dot cz changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10202|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24449