GCC4.2 LLVM Compiling issue
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