Modify

Opened 3 years ago

Closed 3 years ago

#18186 closed defect (fixed)

comgt fails to build with musl for x86_64

Reported by: zloop Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

comgt.c: In function 'opengt':
comgt.c:1284:31: error: 'XCASE' undeclared (first use in this function)
   stbuf.c_lflag &= ~(ICANON | XCASE | ECHO | ECHOE | ECHONL);

XCASE is normally declared in termios.h
however the x86_64 variant is missing this for unknown reasons

with XCASE: http://git.musl-libc.org/cgit/musl/tree/arch/mips/bits/termios.h

without:
http://git.musl-libc.org/cgit/musl/tree/arch/x86_64/bits/termios.h
http://git.musl-libc.org/cgit/musl/tree/arch/i386/bits/termios.h

according to http://man7.org/linux/man-pages/man3/termios.3.html :
XCASE (not in POSIX; not supported under Linux);

http://pubs.opengroup.org/onlinepubs/009695399/basedefs/termios.h.html
has XCASE removed

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r43014

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.