public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* #include <new.h> now causes a warning
@ 2001-08-10 10:51 Craig Rodrigues
  2001-08-10 11:20 ` Joe Buck
  0 siblings, 1 reply; 9+ messages in thread
From: Craig Rodrigues @ 2001-08-10 10:51 UTC (permalink / raw)
  To: gcc

Hi,

I am testing out recent gcc fix which solved
PR 3189.  I am using:

gcc version 3.1 20010808 (experimental)

The problem is solved, but elsewhere, I am getting
the following warning:


###########################################################################
g++ -W -Wall -Wpointer-arith -pipe -O3 -g -Wno-uninitialized -fno-implicit-templates   -D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -DACE_HAS_AIO_CALLS  -I/opt2/home/craigr/ACE_wrappers -DACE_HAS_RAPI -I/usr/include/rsvp -DACE_HAS_EXCEPTIONS  -c -fPIC -o .shobj/OS.o OS.cpp

In file included from /usr/local/include/g++-v3/backward/new.h:33,
                 from /opt2/home/craigr/ACE_wrappers/ace/OS.h:2950,
                 from OS.cpp:3:
/usr/local/include/g++-v3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please use the <X> header instead of <X.h> header for 'C++' includes and use the <cX> header instead of <X.h> header for 'C' includes. To disable this warning use -Wno-deprecated.

###########################################################################


This warning is caused because my code does:
#include <new.h>


Does this same warning occur on the 3.0.1 branch, or just the 3.1
branch?
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net          

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

end of thread, other threads:[~2001-09-27 15:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-10 10:51 #include <new.h> now causes a warning Craig Rodrigues
2001-08-10 11:20 ` Joe Buck
2001-08-10 11:55   ` Gabriel Dos Reis
2001-08-10 13:04     ` Joe Buck
2001-08-10 14:04       ` Gabriel Dos Reis
2001-09-27 12:45         ` Magnus Fromreide
2001-09-27 15:23           ` Gabriel Dos Reis
2001-08-11  9:24       ` Craig Rodrigues
2001-08-11 10:07         ` Gabriel Dos Reis

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