public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53069] New: expected warnings are not given
@ 2012-04-22  6:49 santoshg550 at gmail dot com
  2012-04-22  7:16 ` [Bug c/53069] " pinskia at gcc dot gnu.org
  2013-10-21 20:54 ` mpolacek at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: santoshg550 at gmail dot com @ 2012-04-22  6:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53069

             Bug #: 53069
           Summary: expected warnings are not given
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: santoshg550@gmail.com


hi,
        I am a windows user. Currently, i am using MinGW tools for c language.
I found following two conditions very suspicious about gcc compiler. I am using
cmd.exe (i.e. command prompt of windows) to compile my program. 

1.Suppose we declared as int main(void), then we must return a value at end to
operating system. But evenif we didn't do that, gcc doesn't give a warning like
'Function should return a value'.

2.Consider this if statement: if(flag = 0). Error is that instead of '=', there
should be '=='.But the compiler doesn't give a single warning. The behaviour of
executable file is not as per our logic(rather destructable).

        Reply me about these two situations as soon as possible. If these two
are corrected in later versions, please inform me how to update my gcc
compiler. And please don't advise me to use any editor like Eclipse or
CodeBlocks.


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

* [Bug c/53069] expected warnings are not given
  2012-04-22  6:49 [Bug c/53069] New: expected warnings are not given santoshg550 at gmail dot com
@ 2012-04-22  7:16 ` pinskia at gcc dot gnu.org
  2013-10-21 20:54 ` mpolacek at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-22  7:16 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53069

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-04-22
     Ever Confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-22 07:15:36 UTC ---
Please read the FAQ.  Try adding -Wall -Wextra as mentioned in the bug
reporting page.


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

* [Bug c/53069] expected warnings are not given
  2012-04-22  6:49 [Bug c/53069] New: expected warnings are not given santoshg550 at gmail dot com
  2012-04-22  7:16 ` [Bug c/53069] " pinskia at gcc dot gnu.org
@ 2013-10-21 20:54 ` mpolacek at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2013-10-21 20:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53069

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Feedback not coming.


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

end of thread, other threads:[~2013-10-21 20:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-22  6:49 [Bug c/53069] New: expected warnings are not given santoshg550 at gmail dot com
2012-04-22  7:16 ` [Bug c/53069] " pinskia at gcc dot gnu.org
2013-10-21 20:54 ` mpolacek at gcc dot gnu.org

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