delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/10/14:34:37

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Setup Utility in the making.
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <hfm5ass5n2p9uuu0feum9krj6g1e3poiec@4ax.com>
References: <87jegs02e44 AT enews2 DOT newsguy DOT com> <389DAEE6 DOT 5B0550A5 AT tudor21 DOT net> <389EC8D9 DOT 1A02AA45 AT softhome DOT net> <jkut9s831tukb0jbcno5sj890i73ko3c0r AT 4ax DOT com> <389F175F DOT 9EC378DE AT softhome DOT net> <38A06E14 DOT 29AD52CC AT tudor21 DOT net> <38A176D2 DOT 75873E8F AT softhome DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 19
X-Trace: /wObnZRGgaSidZbcp94pcJ2WuiC26foLCeF1ceDryayfmB3mC8BVqNMJa26huim/urz6c9YU1jV1!gVN14EMkZshWeeNw/pvXgfCd0hJytCuOFfiBCo9NDm6cIc8yIvtQ4oKsy5IEdGibrf+4pPg+8ow6!tzf1Lw==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 10 Feb 2000 15:38:46 GMT
Distribution: world
Date: Thu, 10 Feb 2000 15:38:46 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 09 Feb 2000 16:16:50 +0200, Laurynas Biveinis
<lauras AT softhome DOT net> wrote:

>Here comes one disadvantage that DJGPP has library 
>functions like fork(), pipe() etc. which always fail. 
>I moves meaningful error message from compilation
>to runtime.

You can move them to compile time by #define'ing them away in headers.
Any use of them will create compiler warnings and linker errors.

#define pipe NO_pipe
#define fork NO_fork

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019