--- Comment #3 from Witold Baryluk <> 2009-12-11 
06:22:49 PST ---
Changing declaration of pipe to
  extern(C) int pipe(int*);
will make that D type system have less information than previous.

currently, if I would write:
   extern(C) int pipe(int[2]);
   int[1] input;
it will fail to compile because of wrong type.

But with:
   extern(C) int pipe(int*);
   int[1] input;
it will compile without any error.

I see many other functions, in core which takes array of different sizes.

How about just interpreting array parametern in extern(C) function as being
passed via reference. I don't see what was wrong in previous approach. It gives
some more verbosity to error messages.

If anyway this is new intended behaviour, please document it and fix all
headers in core.* and other extern(C) headers.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to