On Thu Sep 10 05:37:12 EDT 2009, [email protected] wrote: > In article <[email protected]>, > erik quanstrom <[email protected]> wrote: > >> gcc happily compiles a definition like > >> #define CT_v249 ((void*)startLabel+464) > >> > > > >no it doesn't. > > > >$ cat > x.c > >char *startlab; > >long long offset = (void*)startlab+464; > >[...] > >$ gcc -Wall x.c > >x.c:2: error: initializer element is not constant > > That also has the issue of converting a void * to a long long,
sorry. my mouse license has been revoked. that was actually void*. - erik
