https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81103

            Bug ID: 81103
           Summary: gcc/ada/terminals.c: please remove unused termio.h
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: nicolas.boulenguez at free dot fr
  Target Milestone: ---

Created attachment 41555
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41555&action=edit
Patch removing termio.h

On all architectures, the terminals.c source file #includes <termios.h> and
declares variables with type struct termios.
Some platforms provide a compatibility termio.h, which only defines the termio
structure.
terminals.c also #includes <termio.h>, probably for historical reasons since no
termio structure is ever used.
Please drop the #include instead of manually maintaining a list of
architectures, leading to problems like https://bugs.debian.org/845159.

Reply via email to