• 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: GCC4.2 LLVM Compiling issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC4.2 LLVM Compiling issue


  • Subject: Re: GCC4.2 LLVM Compiling issue
  • From: Neal <email@hidden>
  • Date: Tue, 23 Jun 2009 16:47:54 -0700 (PDT)

SOME_MACRO is really a call to CMSG_SPACE()


----- Original Message ----
From: Chris Espinosa <email@hidden>
To: Neal <email@hidden>
Cc: email@hidden
Sent: Tuesday, June 23, 2009 4:22:28 PM
Subject: Re: GCC4.2 LLVM Compiling issue


On Jun 23, 2009, at 4:18 PM, Neal wrote:

> Hi all I'm trying to test compiling my existing code with GCC 4.2 and LLVM and I get the following error.
> error: size of array 'class_id_list' is not an integral constant-expression
>
> Here is what the code looks like
>
>
> #define CLASS_ID_LIST_SIZE SOME_MACRO(CONSTANT_1 * sizeof(u_int32_t))
>
> ...
>
> int class_id_list[CLASS_ID_LIST_SIZE];  <--
>
> Is there a way that I can get this to compile without having to re-write this code?

Depends on what SOME_MACRO does.

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: 
 >GCC4.2 LLVM Compiling issue (From: Neal <email@hidden>)
 >Re: GCC4.2 LLVM Compiling issue (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: where is the right place to ask RubyCocoa on Xcode related question
  • Next by Date: Re: Linking problem - dyld: Library not loaded
  • Previous by thread: Re: GCC4.2 LLVM Compiling issue
  • Next by thread: Updating a Build Number
  • Index(es):
    • Date
    • Thread