public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Benjamin Kosnik <bkoz@redhat.com>
To: gcc@gcc.gnu.org
Subject: RE: C++ Static Variable Initialization
Date: Fri, 17 Aug 2001 14:29:00 -0000	[thread overview]
Message-ID: <200108172129.f7HLTkk16913@constant.com> (raw)

Sarangdhar,

You may want to investigate using the -finit-priority flag, and
marking up your sources to indicate when specific items should be
initialized.

See this page:
http://gcc.gnu.org/onlinedocs/gcc-3.0/gcc_6.html#SEC121

You might also want to scope the g++ testsuite for examples.

best,
benjamin

             reply	other threads:[~2001-08-17 14:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17 14:29 Benjamin Kosnik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-15 17:12 Marcel Ruff
2001-08-17 13:45 Sarangdhar, NitinX
2001-08-14 16:14 Sarangdhar, NitinX
2001-08-16 18:30 ` Alexandre Oliva

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=200108172129.f7HLTkk16913@constant.com \
    --to=bkoz@redhat.com \
    --cc=gcc@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).