public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sinisa Milivojevic <sinisa@mysql.com>
To: gcc@gcc.gnu.org
Subject: __cxa_pure_virtual
Date: Thu, 22 Nov 2001 23:54:00 -0000	[thread overview]
Message-ID: <15367.40775.654107.915798@sinisa.nasamreza.org> (raw)


Hi!

Sorry for bothering you.

Please CC: a reply to me as I am not a member of the list.

Is there a way of compiling a C++ file, which does not contain any
references to STL classes, so that resultant object file will have no
references to the above symbol, defined in pure.cc of libstdc++.

This is a problem in 3.0[1,2]

I have tried using gcc for CXX, setting -fno-rtti -fno-exceptions, but
still libstdc++ has to be linked in , due to the above symbol.

Any solution or work-around ??


Many thanks in advance.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@mysql.com>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

WARNING: multiple messages have this Message-ID
From: Sinisa Milivojevic <sinisa@mysql.com>
To: gcc@gcc.gnu.org
Subject: __cxa_pure_virtual
Date: Fri, 30 Nov 2001 06:58:00 -0000	[thread overview]
Message-ID: <15367.40775.654107.915798@sinisa.nasamreza.org> (raw)
Message-ID: <20011130065800.YVlEF-7Kw_CVbulcUFKWq_eMlvPEGLelWLpn1tw6PHw@z> (raw)

Hi!

Sorry for bothering you.

Please CC: a reply to me as I am not a member of the list.

Is there a way of compiling a C++ file, which does not contain any
references to STL classes, so that resultant object file will have no
references to the above symbol, defined in pure.cc of libstdc++.

This is a problem in 3.0[1,2]

I have tried using gcc for CXX, setting -fno-rtti -fno-exceptions, but
still libstdc++ has to be linked in , due to the above symbol.

Any solution or work-around ??


Many thanks in advance.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@mysql.com>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, Fulltime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

             reply	other threads:[~2001-11-30 14:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22 23:54 Sinisa Milivojevic [this message]
2001-11-23  2:59 ` __cxa_pure_virtual Nathan Sidwell
2001-11-23  3:42   ` __cxa_pure_virtual Sinisa Milivojevic
2001-11-23 15:24     ` __cxa_pure_virtual Phil Edwards
2001-11-30 11:35       ` __cxa_pure_virtual Phil Edwards
2001-12-01  4:54       ` __cxa_pure_virtual Sinisa Milivojevic
2001-11-23 15:37     ` __cxa_pure_virtual Alexandre Oliva
2001-11-30 11:45       ` __cxa_pure_virtual Alexandre Oliva
2001-12-01  4:56       ` __cxa_pure_virtual Sinisa Milivojevic
2001-11-30  9:21     ` __cxa_pure_virtual Sinisa Milivojevic
2001-11-30  9:10   ` __cxa_pure_virtual Nathan Sidwell
2001-11-30  6:58 ` __cxa_pure_virtual Sinisa Milivojevic

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=15367.40775.654107.915798@sinisa.nasamreza.org \
    --to=sinisa@mysql.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).