Skip to content

unknown type name 'huo_ast' compilation error #56

@rwhitworth

Description

@rwhitworth

Trying to compile with gcc or clang on Debian jessie. Receiving the following error (and a similar error with clang). Seeing this on git commit 152af3b.

cc -g3 -std=c11 -Werror -Wall -Wextra -pedantic -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -MD -MF .structures/huo_ast.mk -MP -MD -MF src/structures/huo_ast.o -MP -MD -MF .huo_ast.mk -MP  -c -o src/structures/huo_ast.o src/structures/huo_ast.c
In file included from src/structures/value.h:5:0,
                 from src/structures/huo_ast.h:7,
                 from src/structures/huo_ast.c:6:
src/structures/structures.h:20:5: error: unknown type name ‘huo_ast’
     huo_ast *ast;
     ^
src/structures/structures.h:29:9: error: unknown type name ‘huo_ast’
         huo_ast *ast;
         ^
<builtin>: recipe for target 'src/structures/huo_ast.o' failed
make: *** [src/structures/huo_ast.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions