#19 SunOS/AIX curses problems

fatal errors
closed-fixed
nobody
None
5
2007-02-07
2007-02-06
C. Holloway
No

SunOS 5.9 /usr/include/curses.h defines macros which result in compilation errors.

e.g. io/bounds.h:43, `inline void move(int deltax, int deltay)' becomes mangled by the macro definition `#define move(y, x) wmove(stdscr, y, x)' at curses.h:803. Adding -DNOMACROS to CFLAGS prevents curses.h from defining the macros.

Discussion

  • C. Holloway
    C. Holloway
    2007-02-06

    Logged In: YES
    user_id=447087
    Originator: YES

    The same issue is present on AIX 3.5

     
  • C. Holloway
    C. Holloway
    2007-02-06

    • summary: SunOS 5.9 curses.h namespace pollution --> SunOS/AIX curses.h namespace pollution
     
  • C. Holloway
    C. Holloway
    2007-02-06

    Logged In: YES
    user_id=447087
    Originator: YES

    io/posix/sysdisplay.cc:245, makes use of the curses function resizeterm(), compilation fails on SunOS 5.9 and AIX 3.5

    io/posix/sysdisplay.cc:318, attr_t undefined type

    Basically all errors from using curses... maybe the configure script ought to fail if it cant find ncurses?

     
  • C. Holloway
    C. Holloway
    2007-02-06

    • summary: SunOS/AIX curses.h namespace pollution --> SunOS/AIX curses problems
     
  • Logged In: YES
    user_id=3437
    Originator: NO

    Thanks, fixed in beta3.

     
    • status: open --> closed-fixed