• 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: Chris Espinosa <email@hidden>
  • Date: Tue, 23 Jun 2009 16:22:28 -0700


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


  • Follow-Ups:
    • Re: GCC4.2 LLVM Compiling issue
      • From: Neal <email@hidden>
References: 
 >GCC4.2 LLVM Compiling issue (From: Neal <email@hidden>)

  • Prev by Date: GCC4.2 LLVM Compiling issue
  • Next by Date: Re: where is the right place to ask RubyCocoa on Xcode related question
  • Previous by thread: GCC4.2 LLVM Compiling issue
  • Next by thread: Re: GCC4.2 LLVM Compiling issue
  • Index(es):
    • Date
    • Thread