From: Wolfgang Bangerth <bangerth@ices.utexas.edu>
To: Simon MARTIN <simartin@users.sourceforge.net>, <gcc@gcc.gnu.org>
Subject: Re: Type problem with template functions and inheritance?
Date: Wed, 08 Sep 2004 22:41:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0409081730340.27738-100000@terra.ices.utexas.edu> (raw)
> I played a little with templates and template functions, and I encountered a
> problem with GCC while doing so. The code at the end of this message builds
> with Microsoft's Visual C++ Toolkit 2003, but fails with GCC. Since the code
> is quite "weird", I wonder whether there's a problem in GCC or Visual is too
> laxist.
>
> What is strange is:
> - the "<unknown type>" in the error message
> - the fact that if I "help" GCC a little (before the first static_cast),
> then things work fine.
I just opened PR 17359 for this. It seems to me that gcc is wrong indeed.
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ices.utexas.edu
www: http://www.ices.utexas.edu/~bangerth/
next reply other threads:[~2004-09-08 22:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-08 22:41 Wolfgang Bangerth [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-08 20:10 Type problem with template functions and inheritance ? Simon MARTIN
2004-09-08 21:33 ` Vaclav Haisman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0409081730340.27738-100000@terra.ices.utexas.edu \
--to=bangerth@ices.utexas.edu \
--cc=gcc@gcc.gnu.org \
--cc=simartin@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).