[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiling ncurses on Darwin / Mac OS X
From: |
Thomas Dickey |
Subject: |
Re: compiling ncurses on Darwin / Mac OS X |
Date: |
Mon, 18 Jun 2001 09:42:49 -0400 |
User-agent: |
Mutt/1.2.5i |
On Mon, Jun 18, 2001 at 06:19:40AM -0700, Eugene Lee wrote:
> I didn't see this in the FAQ or any included files, but I got a few
> errors during the compile. A setting with CFLAGS fixed things:
>
> CFLAGS=-traditional-cpp ./configure
That's an unusual bug (ncurses is written in ANSI C, using POSIX functions).
Traditional-cpp is used for platforms such as SunOS which have non-ANSI
substitutions in their header files, e.g.,
#define foo(c) 'c'
> Could this be added to INSTALL, or maybe add this to the configure script?
I think I need more information (why Darwin has stuff in their header files
which is about 12-years obsolete).
--
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com