Skip to content

Internal error: global void variable #27

Open
@derrell

Description

@derrell

This program generates an internal error. Note void global variable and incorrect syntax for draw_greenSquare function definition.

#include <stdio.h>
#include <draw.h>

void draw_green;

int main(int argc, char * argv[])
{     
    draw_greenSquare();
    return 0;
}

void draw_greenSquare
{
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions