Open Laeeth opened 4 years ago
I can't reproduce this. I just tried this:
// oops.dpp
#include <stdint.h>
And it worked fine. My gcc is also gcc 10.1.0.
I also cloned libzfs-core and dub build worked. I opened dub.sdl to see what was going on and uncommented d++ actually running after fixing the preGenerateCommands to the below:
preGenerateCommands "d++ --preprocess-only --include-path $PACKAGE_DIR/include/libzfs --include-path $PACKAGE_DIR/include source/symmetry/api/libzfs_core.dpp
No errors. I noticed that the version of dpp listed as a dependency (and it shouldn't, there should probably be a dub fetch instead in the preGenerateCommands) is 0.2.3. That is very old. It's possible that version had an issue. The current doesn't seem to.
I tried dpp master. Git pull and my d++ is symlinked to the built executable. I will try again shortly.