public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/7755: Please make -Wno-deprecated do just that
@ 2003-01-08  2:26 H. Peter Anvin
  0 siblings, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2003-01-08  2:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7755; it has been noted by GNATS.

From: "H. Peter Anvin" <hpa@zytor.com>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   hpa@zytor.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c/7755: Please make -Wno-deprecated do just that
Date: Tue, 07 Jan 2003 18:20:22 -0800

 bangerth@dealii.org wrote:
 > Synopsis: Please make -Wno-deprecated do just that
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: bangerth
 > State-Changed-When: Tue Jan  7 18:17:18 2003
 > State-Changed-Why:
 >     Thanks for your report (and how unfortunate that nobody seems)
 >     to have looked at it so far...). Do you have a small testcase
 >     that shows the problem? Please send it to us so that we can
 >     easily reproduce the problem.
 >     
 >     Thanks
 >       Wolfgang
 > 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7755
 
 Hi there,
 
 I will try to make one tomorrow.  If not, it'll have to wait until a few 
 weeks from now since I'm about to leave for a trip.
 
 	-hpa
 


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

* Re: c/7755: Please make -Wno-deprecated do just that
@ 2003-01-08 20:06 Christian Ehrhardt
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Ehrhardt @ 2003-01-08 20:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/7755; it has been noted by GNATS.

From: "Christian Ehrhardt" <ehrhardt@mathematik.uni-ulm.de>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c/7755: Please make -Wno-deprecated do just that
Date: Wed, 8 Jan 2003 21:00:43 +0100

 On Wed, Jan 08, 2003 at 10:27:29AM -0800, H. Peter Anvin wrote:
 > bangerth@dealii.org wrote:
 > > Synopsis: Please make -Wno-deprecated do just that
 >  [ ... ]
 > Attached is a very simple testcase, which demonstrates the problem quite
 > well.
 > [ ... ]
 
 From the info file of gcc:
 `-Wno-deprecated (C++ only)'
      Do not warn about usage of deprecated features.  *Note Deprecated
      Features::.
 
 I.e. -Wno-deprecated is C++ only and for me g++ rejects the sample
 code with a syntax error. So this works as advertised.
 
    regards  Christian
 
 -- 
 THAT'S ALL FOLKS!


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

* Re: c/7755: Please make -Wno-deprecated do just that
@ 2003-01-08 18:36 H. Peter Anvin
  0 siblings, 0 replies; 5+ messages in thread
From: H. Peter Anvin @ 2003-01-08 18:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/7755; it has been noted by GNATS.

From: "H. Peter Anvin" <hpa@zytor.com>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
        hpa@zytor.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c/7755: Please make -Wno-deprecated do just that
Date: Wed, 08 Jan 2003 10:27:29 -0800

 This is a multi-part message in MIME format.
 --------------060800000909000601000603
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 bangerth@dealii.org wrote:
 > Synopsis: Please make -Wno-deprecated do just that
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: bangerth
 > State-Changed-When: Tue Jan  7 18:17:18 2003
 > State-Changed-Why:
 >     Thanks for your report (and how unfortunate that nobody seems)
 >     to have looked at it so far...). Do you have a small testcase
 >     that shows the problem? Please send it to us so that we can
 >     easily reproduce the problem.
 >     
 
 Attached is a very simple testcase, which demonstrates the problem quite
 well.
 
 
 
 --------------060800000909000601000603
 Content-Type: text/plain;
  name="function.c"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="function.c"
 
 #include <stdio.h>
 
 int main(int argc, char *argv[])
 {
   puts("This is " __FUNCTION__);
   return 0;
 }
 
 --------------060800000909000601000603
 Content-Type: text/plain;
  name="output.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="output.txt"
 
 : neocesium 109 ; cat /etc/redhat-release
 Red Hat Linux release 8.0.92 (Phoebe)
 : neocesium 110 ; rpm -q gcc
 gcc-3.2.1-2
 : neocesium 111 ; gcc -v
 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.1/specs
 Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
 Thread model: posix
 gcc version 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)
 : neocesium 112 ; gcc -Wall -Wno-deprecated -O -g -o function function.c
 function.c: In function `main':
 function.c:5: warning: concatenation of string literals with __FUNCTION__ is deprecated
 
 --------------060800000909000601000603--
 


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

* Re: c/7755: Please make -Wno-deprecated do just that
@ 2003-01-08  2:17 bangerth
  0 siblings, 0 replies; 5+ messages in thread
From: bangerth @ 2003-01-08  2:17 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, hpa, nobody

Synopsis: Please make -Wno-deprecated do just that

State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Jan  7 18:17:18 2003
State-Changed-Why:
    Thanks for your report (and how unfortunate that nobody seems)
    to have looked at it so far...). Do you have a small testcase
    that shows the problem? Please send it to us so that we can
    easily reproduce the problem.
    
    Thanks
      Wolfgang

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7755


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

* c/7755: Please make -Wno-deprecated do just that
@ 2002-08-28 22:46 hpa
  0 siblings, 0 replies; 5+ messages in thread
From: hpa @ 2002-08-28 22:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7755
>Category:       c
>Synopsis:       Please make -Wno-deprecated do just that
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 28 22:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     hpa@zytor.com
>Release:        gcc-3.2
>Organization:
>Environment:
Linux RedHat 7.3.94 ("null") i386
>Description:
Even when compiling with -Wno-deprecated, gcc will spew warnings about many deprecated features, such as concatenating __FUNCTION__ with a string.  This makes it very hard to migrate to using a newer gcc, since all these warnings are likely to hide real bugs.  It would therefore be desirable if -Wno-deprecated would genuinely suppress warnings about deprecated features, *or* add a -Wno-all-deprecated or some such option.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-01-08 20:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08  2:26 c/7755: Please make -Wno-deprecated do just that H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2003-01-08 20:06 Christian Ehrhardt
2003-01-08 18:36 H. Peter Anvin
2003-01-08  2:17 bangerth
2002-08-28 22:46 hpa

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