public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/4876: required warning is not given
@ 2001-11-03 11:35 Dale Johannesen
  0 siblings, 0 replies; 4+ messages in thread
From: Dale Johannesen @ 2001-11-03 11:35 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Dale Johannesen <dalej@apple.com>
To: jsm28@gcc.gnu.org
Cc: Dale Johannesen <dalej@apple.com>, gcc-bugs@gcc.gnu.org,
   gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, jsm28@cam.ac.uk,
   nobody@gcc.gnu.org
Subject: Re: c/4876: required warning is not given
Date: Wed, 14 Nov 2001 13:36:46 -0800

 On Wednesday, November 14, 2001, at 11:12 AM, jsm28@gcc.gnu.org wrote:
 > Synopsis: required warning is not given
 >
 > State-Changed-From-To: open->closed
 > State-Changed-By: jsm28
 > State-Changed-When: Wed Nov 14 11:12:22 2001
 > State-Changed-Why:
 >     If you want warnings for all constraint violations, use -pedantic.
 
 I don't necessarily want warnings for all constraint violations.  Right now
 
 void xx() { return 3; }
 
 gets a warning but
 
 void xx() { return xx(); }
 
 does not (without -pedantic).  This seems wrong to me.  But if the 
 behavior is
 intentional, OK.
 


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

* Re: c/4876: required warning is not given
@ 2001-11-02 16:05 jsm28
  0 siblings, 0 replies; 4+ messages in thread
From: jsm28 @ 2001-11-02 16:05 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: jsm28@gcc.gnu.org
To: dalej@apple.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
  gcc-prs@gcc.gnu.org, jsm28@cam.ac.uk, nobody@gcc.gnu.org
Cc:  
Subject: Re: c/4876: required warning is not given
Date: 14 Nov 2001 19:12:22 -0000

 Synopsis: required warning is not given
 
 State-Changed-From-To: open->closed
 State-Changed-By: jsm28
 State-Changed-When: Wed Nov 14 11:12:22 2001
 State-Changed-Why:
     If you want warnings for all constraint violations, use -pedantic.
     (If there is still a bug here for C++ then open a separate
     category "c++" bug report with the appropriate reference
     to the C++ standard.)
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4876&database=gcc


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

* Re: c/4876: required warning is not given
@ 2001-11-02 14:46 jsm28
  0 siblings, 0 replies; 4+ messages in thread
From: jsm28 @ 2001-11-02 14:46 UTC (permalink / raw)
  To: dalej, gcc-bugs, gcc-gnats, gcc-prs, jsm28, nobody

Synopsis: required warning is not given

State-Changed-From-To: open->closed
State-Changed-By: jsm28
State-Changed-When: Wed Nov 14 11:12:22 2001
State-Changed-Why:
    If you want warnings for all constraint violations, use -pedantic.
    (If there is still a bug here for C++ then open a separate
    category "c++" bug report with the appropriate reference
    to the C++ standard.)

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


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

* c/4876: required warning is not given
@ 2001-11-02 14:33 dalej
  0 siblings, 0 replies; 4+ messages in thread
From: dalej @ 2001-11-02 14:33 UTC (permalink / raw)
  To: gcc-gnats


>Number:         4876
>Category:       c
>Synopsis:       required warning is not given
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          accepts-illegal
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 14 10:36:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dale Johannesen
>Release:        2.95, 3 (development)
>Organization:
>Environment:
darwin (but probably any)
>Description:
The following program, which violates the constraint in C89 3.6.6.4, doesn't get a warning.  Also occurs in C++.

void xx () { return xx(); }
>How-To-Repeat:
gcc -c  foo.c
>Fix:

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


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

end of thread, other threads:[~2001-11-14 21:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-03 11:35 c/4876: required warning is not given Dale Johannesen
  -- strict thread matches above, loose matches on Subject: below --
2001-11-02 16:05 jsm28
2001-11-02 14:46 jsm28
2001-11-02 14:33 dalej

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