Sam TH <[EMAIL PROTECTED]> writes:

> Then I encounter this error:
> 
> cc -DBEOS -DBEOS  -c -I../../include -Imm shmem.c
> ### mwcc Compiler Error:
> #     MM *newmm = mm_create(reqsize + sizeof(*newmm), file, 
> MM_ALLOCATE_ENOUGH);
> #                                                   ^
> #   illegal type

Yep... this bug crept in last night; it showed up in a gcc warning on
FreeBSD in the wee hours...  sizeof(* void *) is undefined.

You can't do

  void *x;
  sizeof(*x)

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Reply via email to