public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/15935] Defining static [const] member variables of template class
Date: Thu, 17 Jun 2004 13:25:00 -0000	[thread overview]
Message-ID: <20040617132457.19748.qmail@sourceware.org> (raw)
In-Reply-To: <20040611084936.15935.Rainer.Bensch@rsd.rohde-schwarz.com>


------- Additional Comments From bangerth at dealii dot org  2004-06-17 13:24 -------
The reason weak symbols appear here is that if your OS _does_ support weak 
symbols, the definition of the template member can appear in a header 
file. However, if you don't have weak symbol support, then this would 
lead to multiple symbol definition errors, so one has to instantiate 
these variables one by one in some implementation file. 
 
Does the situation improve with newer versions of gcc? And what OS are you 
actually on? 
 
W. 

-- 


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


  parent reply	other threads:[~2004-06-17 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11  8:49 [Bug c++/15935] New: " Rainer dot Bensch at rsd dot rohde-schwarz dot com
2004-06-11 13:28 ` [Bug c++/15935] " pinskia at gcc dot gnu dot org
2004-06-17  8:23 ` Rainer dot Bensch at rsd dot rohde-schwarz dot com
2004-06-17  8:47 ` pinskia at gcc dot gnu dot org
2004-06-17  8:49 ` pinskia at gcc dot gnu dot org
2004-06-17 13:25 ` bangerth at dealii dot org [this message]
2004-06-18 11:35 ` Rainer dot Bensch at rsd dot rohde-schwarz dot com

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=20040617132457.19748.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).