Skip to content

Compilation error on GCC 12.1.0 and GCC 10.3.1 from GNAT Community 2021 #4

Description

@ALPHA-60

On a hand built GCC 12.1.0 on FreeBSD and on gcc (GCC) 10.3.1 20210520 (for GNAT Community 2021 20210519) on Linux I'm getting:

curses-layers.adb:88:07: error: access discriminant in return object would be a dangling reference
curses-layers.adb:117:07: error: access discriminant in return object would be a dangling reference
curses-ui-menus-standard_trees-storage_pools-unbounded.adb:72:12: error: non-local pointer cannot point to local object

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions