public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44499]  New: No default constructor available
@ 2010-06-11  9:10 piotr dot wyderski at gmail dot com
  2010-06-11  9:26 ` [Bug c++/44499] " redi at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 23+ messages in thread
From: piotr dot wyderski at gmail dot com @ 2010-06-11  9:10 UTC (permalink / raw)
  To: gcc-bugs

The following code:

    class C {

    };

    class D : public C {

    };

    const D g_d;


fails to compile on trunk (rev. 160489) with the following message:

$ g++ test.cpp
test.cpp:11:9: error: uninitialized const 'g_d' [-fpermissive]
test.cpp:6:11: note: 'const class D' has no user-provided default constructor


-- 
           Summary: No default constructor available
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: piotr dot wyderski at gmail dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

end of thread, other threads:[~2014-02-16 10:02 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-44499-4@http.gcc.gnu.org/bugzilla/>
2011-03-03 22:28 ` [Bug c++/44499] No default constructor available dirtyepic at gentoo dot org
2011-03-03 23:14 ` redi at gcc dot gnu.org
2011-03-03 23:16 ` redi at gcc dot gnu.org
2011-03-04 10:02 ` manu at gcc dot gnu.org
2011-03-04 11:23 ` redi at gcc dot gnu.org
2011-03-04 11:25 ` redi at gcc dot gnu.org
2011-03-17 11:46 ` dirtyepic at gentoo dot org
2011-03-17 11:46 ` redi at gcc dot gnu.org
2011-03-19 20:05 ` redi at gcc dot gnu.org
2011-09-25 11:46 ` [Bug c++/44499] [4.7 Regression?] " paolo.carlini at oracle dot com
2011-09-25 14:23 ` redi at gcc dot gnu.org
2011-09-25 14:39 ` [Bug c++/44499] " paolo.carlini at oracle dot com
2014-02-16 10:02 ` jackie.rosen at hushmail dot com
2010-06-11  9:10 [Bug c++/44499] New: " piotr dot wyderski at gmail dot com
2010-06-11  9:26 ` [Bug c++/44499] " redi at gcc dot gnu dot org
2010-06-11 10:28 ` redi at gcc dot gnu dot org
2010-06-11 10:53 ` manu at gcc dot gnu dot org
2010-06-11 11:01 ` piotr dot wyderski at gmail dot com
2010-06-11 11:12 ` manu at gcc dot gnu dot org
2010-06-11 11:12 ` manu at gcc dot gnu dot org
2010-06-11 11:14 ` manu at gcc dot gnu dot org
2010-07-02  8:09 ` manu at gcc dot gnu dot org
2010-07-02  8:12 ` pluto at agmk dot net
2010-07-02  9:15 ` manu 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).