Mail Archives: djgpp-workers/2001/08/13/07:01:17
> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Thu, 9 Aug 2001 11:28:00 -0400
>
> > I think it's okay to initialize termios in a static constructor, but
> > if none of the termios functions are called by the application, how
> > are we gonna make sure termios functions, including the initializer,
> > get linked into the executable in the first place?
>
> In the case of ncurses, it does use termios but it may or may not be called
> depending on the code path. Since the library uses the termios emulation in
> some place, the termios emulation will be included in any exe using ncurses.
Which librray do you refer to here? Is it the ncurses library?
What I wrote was a general remark: if the old-style initialization
didn't work because termios functions were not referenced, the same
problem will happen with a static constructor.
- Raw text -