[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's the proper way to get cchar_t?
From: |
Pierre Abbat |
Subject: |
Re: What's the proper way to get cchar_t? |
Date: |
Fri, 7 Apr 2006 09:07:58 -0400 |
User-agent: |
KMail/1.8.3 |
On Friday 07 April 2006 06:05, Thomas Dickey wrote:
> Perhaps db.h has some problem with defining _XOPEN_SOURCE_EXTENDED (or
> some other conflict). If it can't play nicely, you could include it in
> a file that implements the specific features you want.
I removed the definition of _XOPEN_SOURCE_EXTENDED from the project file (it
ends up in configure, apparently, and is defined on the command line for
compiling each file) and put it in the file form.c, which calls ncurses. That
works.
Apparently this define is processed in features.h which defines
__USE_XOPEN_EXTENDED, then math.h looks at __USE_XOPEN, but not
__USE_XOPEN_EXTENDED. I'm not sure what db.h is doing; it must have something
to do with a file included by db.h.
phma