Another 4.3 c++ question.... (vmware kernel g++ module rebuild issue)

Jakub Jelinek jakub at redhat.com
Wed Feb 13 15:17:51 UTC 2008


On Wed, Feb 13, 2008 at 07:08:45AM -0800, Tom London wrote:
> On Wed, Feb 13, 2008 at 7:03 AM, Jakub Jelinek <jakub at redhat.com> wrote:
> > On Wed, Feb 13, 2008 at 06:53:48AM -0800, Tom London wrote:
> Any idea why the old "colon" syntax would appear to still work?  (at
> least not complain)? That seems a bit strange.

C++ standard (C++98, but AFAIK no changes are planned for C++0x) doesn't
have designated initializers, only C99 does.  The g++ front-end supports
very limited subset of the old style designated initializers as a GNU
extension, but nobody wrote support for the C99 designated initializers
as GNU extension for C++ FE.

	Jakub




More information about the devel mailing list