bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bool definition in include/curses.h.in


From: Albert Chin
Subject: bool definition in include/curses.h.in
Date: Tue, 22 Apr 2003 17:29:25 -0500
User-agent: Mutt/1.4i

Can we now change:
  #if (!defined(__cplusplus) || address@hidden@) && (address@hidden@)
to:
  #if !defined(__cplusplus) && (address@hidden@)

If you build ncurses without a C++ compiler and with a C compiler that
does not support a native bool type, then build a C++ app that
includes the above header file, this breaks. You have to do the
initial build of ncurses with a C++ compiler for the above to always
be correct.

Do we still need to worry about GCC 2.5.8?

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]