8000 GNU Make makefiles recursion reaches outside of Harbour source tree during build · Issue #380 · harbour/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
GNU Make makefiles recursion reaches outside of Harbour source tree during build #380
Open
@alcz

Description

@alcz

If a file with name known to the build system is placed in a HOME directory of a UNIX system e.g.:
/home/user/runner.prg
Let's make the contents of the file clear, so the demo is obvious:
#error "ITSABUG"
Harbour build is in the
/home/user/harbour
cd /home/user/harbour && make

Harbour build will fail

../../../../../bin/linux/gcc/harbour ../../../../../../runner.prg  -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l
../../../../../../runner.prg(1) Error E0019  #error '"ITSABUG"'
1 error

No code generated.
make[3]: *** [../../../../../config/rules.mk:147: ../../../runner.c] Error 1
make[2]: *** [../../config/lib.mk:68: descend] Error 2
make[1]: *** [../config/dir.mk:71: vm] Error 2
make: *** [config/dir.mk:71: src] Error 2

Quite funny, but i'm not in mood on tackling it now.

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

      0