From: Jody Goldberg <jodygold@sanwafp.COM>
To: egcs@cygnus.com
Cc: Jody Goldberg <jodyg@idt.net>
Subject: c++ regression since 980502 breaks stl_hashtable.h
Date: Tue, 12 May 1998 09:49:00 -0000 [thread overview]
Message-ID: <19980512105914.A16704@sanwafp.com> (raw)
--------------------------------------------------------------
template <class T> struct A
{
};
template <class T> struct B
{
typedef A<T> A;
void f() { }
};
template <class T> void foobar(A<T>& ht1)
{
}
--------------------------------------------------------------
The above code is a simplified version of stl_hashtable.h that has been
broken in the last several releases. The compiler produces :
] c++ -c z.C
z.C:12: non-template type `A' used as a template
z.C:13: warning: ANSI C++ forbids declaration `ht1' with no type
reply other threads:[~1998-05-12 9:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=19980512105914.A16704@sanwafp.com \
--to=jodygold@sanwafp.com \
--cc=egcs@cygnus.com \
--cc=jodyg@idt.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).