public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jack Howarth <howarth@bromo.msbb.uc.edu>
To: Craig Rodrigues <rodrigc@attbi.com>
Cc: gcc@gcc.gnu.org
Subject: Re: 3.2.2 c++ compile problems
Date: Mon, 23 Dec 2002 10:50:00 -0000	[thread overview]
Message-ID: <200212231800.NAA29533@bromo.msbb.uc.edu> (raw)
In-Reply-To: <200212231718.MAA29417@bromo.msbb.uc.edu>

Craig,
   Thanks. That improved things a bit. Now I get the following 
errors...

g++ -O2 -fPIC -fpermissive -c command.cc
In file included from /usr/include/c++/3.2.1/backward/strstream:51,
                 from /usr/include/c++/3.2.1/backward/strstream.h:33,
                 from undo.h:10,
                 from command.cc:34:
/usr/include/c++/3.2.1/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substit
In file included from /usr/include/c++/3.2.1/bits/stl_algobase.h:69,
                 from /usr/include/c++/3.2.1/memory:54,
                 from /usr/include/c++/3.2.1/string:48,
                 from /usr/include/c++/3.2.1/bits/localefwd.h:49,
                 from /usr/include/c++/3.2.1/ios:48,
                 from /usr/include/c++/3.2.1/backward/strstream:53,
                 from /usr/include/c++/3.2.1/backward/strstream.h:33,
                 from undo.h:10,
                 from command.cc:34:
/usr/include/c++/3.2.1/new:79: declaration of `void* operator new(unsigned int) 
   throw (std::bad_alloc)' throws different exceptions
memalloc.h:22: than previous declaration `void* operator new(unsigned int)'
/usr/include/c++/3.2.1/new:80: declaration of `void* operator new [](unsigned 
   int) throw (std::bad_alloc)' throws different exceptions
memalloc.h:25: than previous declaration `void* operator new [](unsigned int)'
/usr/include/c++/3.2.1/new:81: declaration of `void operator delete(void*) 
   throw ()' throws different exceptions
memalloc.h:23: than previous declaration `void operator delete(void*)'
/usr/include/c++/3.2.1/new:82: declaration of `void operator delete [](void*) 
   throw ()' throws different exceptions
memalloc.h:26: than previous declaration `void operator delete [](void*)'
make: *** [command.o] Error 1

which has...

void *operator new(size_t size);
void operator delete(void *p);

void *operator new[](size_t size);                            
void operator delete[](void *p);  

at line 22. I assume this is an abi change too? What is the best approach 
for that one? I'm am going to pass all of this back upstream to the
author. Thanks again for any help.
                                          Jack

  parent reply	other threads:[~2002-12-23 18:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-23  9:53 Jack Howarth
2002-12-23 10:11 ` Craig Rodrigues
2002-12-23 10:50 ` Jack Howarth [this message]
2002-12-23 11:24   ` Gabriel Dos Reis
2002-12-23 11:56   ` Craig Rodrigues
2002-12-23 13:02     ` Joe Buck
2002-12-23 13:02       ` Craig Rodrigues

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=200212231800.NAA29533@bromo.msbb.uc.edu \
    --to=howarth@bromo.msbb.uc.edu \
    --cc=gcc@gcc.gnu.org \
    --cc=rodrigc@attbi.com \
    /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).