Skip to content

"Declaración incorrecta de puntero a una estructura" #28

Description

@vii1
program test;
global
    struct s[3]
        int a, b, c;
    end
begin
end

function foo1()
private
    int a;
    struct pointer s ptr;
begin
end

function foo2()
private
    int a;
    struct pointer s ptr;
begin
end

La compilación falla en el segundo puntero s con el error "Declaración incorrecta de puntero a una estructura". Sin embargo las dos declaraciones son correctas.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions