This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34811] Classes without attributes declared as const need initializer.
- From: "olof dot tangrot at telia dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2008 14:16:36 -0000
- Subject: [Bug c++/34811] Classes without attributes declared as const need initializer.
- References: <bug-34811-15648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from olof dot tangrot at telia dot com 2008-01-16 14:16 -------
I know about that. The class don't need a contructor, it does not have anything
that needs to be assigned upon creation. Why should the compiler link in code
that does not do anything? I eats memory. Surely that can be resolved at
compile time.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34811