On OpenBSD with gcc trunk (r131220), following program waits for <Enter> when
it should return immediately after key press.
-- get_immed.adb
with Ada.Text_IO;

procedure Get_Immed is
   Ch : Character;
begin
   Ada.Text_IO.Get_Immediate (Ch);
end Get_Immed;
-- end

Patch available at:
http://iki.fi/tero.koskinen/gcc/gcc-ada-sysdep_c.diff


-- 
           Summary: Ada.Text_IO.Get_Immediate does not work on OpenBSD
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tero dot koskinen at iki dot fi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34645

Reply via email to