• 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: Xcode chockes on variable-sized arrays in struct definitions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode chockes on variable-sized arrays in struct definitions


  • Subject: Re: Xcode chockes on variable-sized arrays in struct definitions
  • From: Scott Ribe <email@hidden>
  • Date: Tue, 23 Jan 2007 13:25:28 -0700
  • Thread-topic: Xcode chockes on variable-sized arrays in struct definitions

You might try at least using correct braces. Although I'm not sure it's
legal C, it would come closer ;-)

const DataDefinition MailDefinition =
{
    DATATYPE_EMAIL_SMTP,
    2,
    BaseDefinitionCount + 7,
    {
        BaseDefinition,
        DEFINE_FIELD("Boundary",    FLDTYP_FixedLength,        MAX_PATH *
3),
        DEFINE_FIELD("Attachments",    FLDTYP_FixedLength,        4),

        DEFINE_FIELD("Incoming",    FLDTYP_FixedLength,        4),
        DEFINE_FIELD("EmailType",    FLDTYP_FixedLength,        4),
        DEFINE_FIELD("Flags",        FLDTYP_FixedLength,        4),
        DEFINE_FIELD("TypeInfo",    FLDTYP_FixedLength,        MAX_PATH),
        DEFINE_FIELD("EmailData",    FLDTYP_VariableLength,
VARIABLE_SIZE)
    }
};

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
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

  • Follow-Ups:
    • Re: Xcode chockes on variable-sized arrays in struct definitions
      • From: Mike <email@hidden>
References: 
 >Xcode chockes on variable-sized arrays in struct definitions (From: Mike <email@hidden>)

  • Prev by Date: Re: App launched in Xcode can't gain key and order front
  • Next by Date: RE: Xcode chockes on variable-sized arrays in struct definitions
  • Previous by thread: Xcode chockes on variable-sized arrays in struct definitions
  • Next by thread: Re: Xcode chockes on variable-sized arrays in struct definitions
  • Index(es):
    • Date
    • Thread