On Fri, 08 Mar 2013 22:13:20 GMT, Sönke Ludwig wrote:
static if( __traits(compiles, {import core.sys.posix.grp;}) ){ import core.sys.posix.grp; } else {
In the current DMD, there is a typo in the declaration of
getgrgid
in Druntime (a fix is already committed). The workaround I used is to change the check to:static if( __traits(compiles, {import core.sys.posix.grp; getgrgid(0);}) ){
Thanx for explanation.
This fix is in v0.7.13, but I think the Debian package is still at v0.7.11. So three possibilities come to mind:
You're absolutely right.
- Change the installed appmain.d file manually
- Directly git clone the vibe.d repository instead of using the .deb package, as Matej suggested
- Use DUB to build the project and put
"vibe-d": ">=0.7.13"
as a dependency in package.jsonPersonally, I would use the third option, as it makes all public DUB packages available for use and is a lot more powerful that the
vibe
tool.
Indeed, I think it's reasonable to use the DUB as a primary version management tool.
Thank You.