public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/18144] New: Use of parent's field in template classes
@ 2004-10-25 16:24 guillaume dot lemaitre33 at wanadoo dot fr
2004-10-25 16:30 ` [Bug c++/18144] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: guillaume dot lemaitre33 at wanadoo dot fr @ 2004-10-25 16:24 UTC (permalink / raw)
To: gcc-bugs
The following code, that compiles well with 3.3.4, doesn't compile with 3.4.2,
complaining that "toto" hasn't been declared.
template< typename T >
class Miyeu
{
public:
T* toto;
};
template< typename T >
class Fin : public Miyeu< T >
{
public:
int taille;
protected:
void allouer( int p_taille )
{
if( p_taille > taille )
{
delete[] toto;
toto = new T[p_taille];
taille = p_taille;
}
}
};
--
Summary: Use of parent's field in template classes
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: guillaume dot lemaitre33 at wanadoo dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18144
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/18144] Use of parent's field in template classes
2004-10-25 16:24 [Bug c++/18144] New: Use of parent's field in template classes guillaume dot lemaitre33 at wanadoo dot fr
@ 2004-10-25 16:30 ` pinskia at gcc dot gnu dot org
2004-10-25 16:55 ` guillaume dot lemaitre33 at wanadoo dot fr
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-25 16:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-25 16:30 -------
Read the release notes.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18144
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/18144] Use of parent's field in template classes
2004-10-25 16:24 [Bug c++/18144] New: Use of parent's field in template classes guillaume dot lemaitre33 at wanadoo dot fr
2004-10-25 16:30 ` [Bug c++/18144] " pinskia at gcc dot gnu dot org
@ 2004-10-25 16:55 ` guillaume dot lemaitre33 at wanadoo dot fr
2004-11-05 19:28 ` bangerth at dealii dot org
2004-11-05 19:32 ` bangerth at dealii dot org
3 siblings, 0 replies; 5+ messages in thread
From: guillaume dot lemaitre33 at wanadoo dot fr @ 2004-10-25 16:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From guillaume dot lemaitre33 at wanadoo dot fr 2004-10-25 16:54 -------
sorry for the annoyment
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18144
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/18144] Use of parent's field in template classes
2004-10-25 16:24 [Bug c++/18144] New: Use of parent's field in template classes guillaume dot lemaitre33 at wanadoo dot fr
2004-10-25 16:30 ` [Bug c++/18144] " pinskia at gcc dot gnu dot org
2004-10-25 16:55 ` guillaume dot lemaitre33 at wanadoo dot fr
@ 2004-11-05 19:28 ` bangerth at dealii dot org
2004-11-05 19:32 ` bangerth at dealii dot org
3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2004-11-05 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-11-05 19:27 -------
These are all duplicates of PR 15552
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18144
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/18144] Use of parent's field in template classes
2004-10-25 16:24 [Bug c++/18144] New: Use of parent's field in template classes guillaume dot lemaitre33 at wanadoo dot fr
` (2 preceding siblings ...)
2004-11-05 19:28 ` bangerth at dealii dot org
@ 2004-11-05 19:32 ` bangerth at dealii dot org
3 siblings, 0 replies; 5+ messages in thread
From: bangerth at dealii dot org @ 2004-11-05 19:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-11-05 19:32 -------
Duplicate of PR 15552.
*** This bug has been marked as a duplicate of 15552 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18144
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-05 19:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 16:24 [Bug c++/18144] New: Use of parent's field in template classes guillaume dot lemaitre33 at wanadoo dot fr
2004-10-25 16:30 ` [Bug c++/18144] " pinskia at gcc dot gnu dot org
2004-10-25 16:55 ` guillaume dot lemaitre33 at wanadoo dot fr
2004-11-05 19:28 ` bangerth at dealii dot org
2004-11-05 19:32 ` bangerth at dealii dot org
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).