Skip to content

[BUG] - Building is failed on OpenBSD. #189

@BlackSystemCoder

Description

@BlackSystemCoder

Describe the bug
Building of hcc is failed on OpenBSD.
To Reproduce
Steps to reproduce the behavior:

  1. Try to build hcc on OpenBSD.

Expected behavior
A clear and concise description of what you expected to happen.

[ 26%] Building C object CMakeFiles/hcc.dir/cfg.c.o
[ 30%] Building C object CMakeFiles/hcc.dir/cli.c.o
/home/blacksystem/Downloads/holyc-lang/src/cli.c:165:13: error: use of undeclared identifier 'OS_STR'
            OS_STR,
            ^
1 error generated.
*** Error 1 in . (CMakeFiles/hcc.dir/build.make:163 'CMakeFiles/hcc.dir/cli.c.o': /usr/bin/cc -DHCC_GIT_HASH=\"8654312559c5fdc77ef5b0e6512d5...)
*** Error 2 in . (CMakeFiles/Makefile2:88 'CMakeFiles/hcc.dir/all': make -s -f CMakeFiles/hcc.dir/build.make CMakeFiles/hcc.dir/build)
*** Error 2 in /home/blacksystem/Downloads/holyc-lang/src (Makefile:136 'all': make -s -f CMakeFiles/Makefile2 all)

Desktop (please complete the following information):

  • OS: OpenBSD 7.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions