public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11957] New: wrong "warning: statement has no effect"
@ 2003-08-17 19:18 ritzert at t-online dot de
  2003-08-17 19:21 ` [Bug c++/11957] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: ritzert at t-online dot de @ 2003-08-17 19:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: wrong "warning: statement has no effect"
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ritzert at t-online dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

# cat x.cpp 
#include <string> 
 
const std::string str[ 1 ] = { "a" }; 
const std::wstring wstr[ 1 ] = { L"a" }; 
 
# c++ -Wall -c x.cpp 
x.cpp:3: warning: statement has no effect 
x.cpp:4: warning: statement has no effect 
 
Should be self-explanatory.


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

end of thread, other threads:[~2005-02-22  3:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-17 19:18 [Bug c++/11957] New: wrong "warning: statement has no effect" ritzert at t-online dot de
2003-08-17 19:21 ` [Bug c++/11957] " pinskia at gcc dot gnu dot org
2003-08-17 19:30 ` nathan at gcc dot gnu dot org
2003-08-17 19:46 ` ritzert at t-online dot de
2003-08-18 12:55 ` cvs-commit at gcc dot gnu dot org
2003-08-18 12:55 ` nathan at gcc dot gnu dot org
2003-08-18 14:30 ` nathan at gcc dot gnu dot org
2005-02-22 12:21 ` [Bug c++/11957] [3.4 Regression] " cvs-commit at gcc dot gnu dot 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).