Re: GLib and 64-bit Windows



Duh... of course. I always forget about -E (which is conveniently the same for MSVCs cl.exe)
So, yeah, it is 0 cast to a void *. I figured it would be good, as most 
of the tests ran fine, but always good to double check. :-D

muppet wrote:
Use the preprocessor to expand it for you:

$ gcc -E - <<EOF | tail -n1
> #include <stdio.h> /* NULL is defined somewhere in here */
> void *p = NULL;
> EOF
void *p = ((void *)0);






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]