[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#244935: marked as done (gnat: Illegal program not detected, RM 8.3(22))



Your message dated Sat, 04 Nov 2006 23:33:31 +0100
with message-id <871woiyh8k.fsf@ludovic-brenta.org>
and subject line gnat: Illegal program not detected, RM 8.3(22)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gnat
Version: 3.15p-7
Severity: normal

-- RM 8.3(22)
-- A declaration is hidden from direct visibility within the immediate
-- scope of a homograph of the declaration, if the homograph occurs
-- within an inner declarative region.
package pak1 is
  subtype list is integer;
  function f (list: integer)
       return list;  -- ERROR: subtype list is hidden by parameter

  procedure foo(x : integer);
  procedure p(foo: integer)
      renames foo;   -- ERROR: procedure foo is hidden by parameter
end pak1;



gnatgcc -c pak1.ads
No code generated for file pak1.ads (package spec)
gnatmake: "pak1.ads" compilation error



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8

Versions of packages gnat depends on:
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libgnat-3.15p-1             3.15p-7      The GNU Ada 95 compiler runtime li

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 4.1.0-2

Fixed upstream in 4.0.0 but the fix arrived in Debian only with
4.1.0-2.

-- 
Ludovic Brenta.



--- End Message ---

Reply to: