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

GCC4.2 LLVM Compiling issue


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

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?

-N



 _______________________________________________
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: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Code sign issues
  • Next by Date: Re: GCC4.2 LLVM Compiling issue
  • Previous by thread: Re: Linking problem - dyld: Library not loaded
  • Next by thread: Re: GCC4.2 LLVM Compiling issue
  • Index(es):
    • Date
    • Thread