sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: ber@fid.morgan.com (Brian Redman)
To: sam-fans@hawkwind.utcs.toronto.edu
Subject: Make.aix
Date: Thu, 1 Jul 1993 11:43:02 -0400	[thread overview]
Message-ID: <9307011543.AA19735@rs2.fid.morgan.com> (raw)

 AIX 3.2.3:

cc -DAIX -D_POSIX_SOURCE -D_ANSI_C_SOURCE -D_LIBXG_EXTENSION -I../include    -c gwin.c -o gwin.o
"/usr/include/unistd.h", line 119.26: 1506-010 (W) Macro dup invoked with a null argument.
"/usr/include/unistd.h", line 119.28: 1506-046 (S) Syntax error.

It's the #define dup(a,b) dup2(a,b) in libc.h conflicting with the
extern int dup(int fildes) in /usr/include/unistd.h

I see a number of solutions but would like to know what others have done.

	ber


                 reply	other threads:[~1993-07-01 15:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9307011543.AA19735@rs2.fid.morgan.com \
    --to=ber@fid.morgan.com \
    --cc=sam-fans@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).