• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Missing braces? I don't see where
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing braces? I don't see where


  • Subject: Re: Missing braces? I don't see where
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 27 Oct 2009 15:47:53 -0700

On Oct 27, 2009, at 2:46 PM, Steve Mills wrote:

What Chris S. said.

Boost users' mailing page: [Boost-users] [array] GCC 4.2 warnings with array initialization

(found as first hit Googling gcc 4.2 "Missing braces around initializer")

This is a gnuism. The C++ standard allows your construct, but the greybeards at FSF believe you should know better:

jsm28 at gcc dot gnu - [Bug c/37476] Initialising a union member of a struct without braces

You can silence this warning with -Wno-missing-braces.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Missing braces? I don't see where (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Missing braces? I don't see where
  • Next by Date: Re: Missing braces? I don't see where
  • Previous by thread: Re: Missing braces? I don't see where
  • Next by thread: vDSP_vabs/vDSP_vabsD failure since Xcode 3.2 upgrade
  • Index(es):
    • Date
    • Thread