public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/22095] static template class member definition doesn't compile
       [not found] <bug-22095-10841@http.gcc.gnu.org/bugzilla/>
@ 2006-02-18 22:26 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-18 22:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-18 22:26 -------
*** Bug 26355 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vz-gcc at zeitlins dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/22095] static template class member definition doesn't compile
  2005-06-16 19:55 [Bug c++/22095] New: " zappa at yandex-team dot ru
  2005-06-16 20:01 ` [Bug c++/22095] " bangerth at dealii dot org
  2005-06-16 20:03 ` pinskia at gcc dot gnu dot org
@ 2005-06-16 20:12 ` zappa at yandex-team dot ru
  2 siblings, 0 replies; 4+ messages in thread
From: zappa at yandex-team dot ru @ 2005-06-16 20:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zappa at yandex-team dot ru  2005-06-16 20:12 -------
Thank you a lot!
I'm sorry to report a false bug.
Just used with older version and thought that found a regression.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/22095] static template class member definition doesn't compile
  2005-06-16 19:55 [Bug c++/22095] New: " zappa at yandex-team dot ru
  2005-06-16 20:01 ` [Bug c++/22095] " bangerth at dealii dot org
@ 2005-06-16 20:03 ` pinskia at gcc dot gnu dot org
  2005-06-16 20:12 ` zappa at yandex-team dot ru
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-16 20:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-16 20:02 -------
This is invalid.

You want the follwoing instead:
template<> intsample::keytype * intsample::keyptr = 0;

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/22095] static template class member definition doesn't compile
  2005-06-16 19:55 [Bug c++/22095] New: " zappa at yandex-team dot ru
@ 2005-06-16 20:01 ` bangerth at dealii dot org
  2005-06-16 20:03 ` pinskia at gcc dot gnu dot org
  2005-06-16 20:12 ` zappa at yandex-team dot ru
  2 siblings, 0 replies; 4+ messages in thread
From: bangerth at dealii dot org @ 2005-06-16 20:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2005-06-16 20:00 -------
The typedef you use is still a specialization of a template, so you 
have to write 
 
template <> intsample::keytype * intsample::keyptr = 0; 
 
With this, it works. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-18 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-22095-10841@http.gcc.gnu.org/bugzilla/>
2006-02-18 22:26 ` [Bug c++/22095] static template class member definition doesn't compile pinskia at gcc dot gnu dot org
2005-06-16 19:55 [Bug c++/22095] New: " zappa at yandex-team dot ru
2005-06-16 20:01 ` [Bug c++/22095] " bangerth at dealii dot org
2005-06-16 20:03 ` pinskia at gcc dot gnu dot org
2005-06-16 20:12 ` zappa at yandex-team dot ru

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).