core.sys.posix.unistd link error

Jonathan M Davis jmdavisProg at gmx.com
Sat Sep 21 12:40:38 PDT 2013


On Saturday, September 21, 2013 20:30:00 Ruslan Mullakhmetov wrote:
> i use pipe() syscall from my program. when i compile it I got the
> following msg:
> 
> Error: pipe cannot be interpreted at compile time, because it has
> no available source code
> 
> how can i fix it?
> 
> dmd 2.063.2, Mac OS X

It sounds like you're trying to use pipe at compile time, and as the error 
says, you can't use it at compile time, because no source code for it is 
available. The same goes for all C functions. They can only be used at 
runtime.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list