Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with dmd 2.066 #53

Closed
mrkline opened this issue Aug 21, 2014 · 4 comments
Closed

Build failure with dmd 2.066 #53

mrkline opened this issue Aug 21, 2014 · 4 comments

Comments

@mrkline
Copy link

mrkline commented Aug 21, 2014

ddox pulls in vibe v0.7.20, which fails to build on dmd 2.066. After tweaking package.json so that it uses the master branch of vibe ("vibe-d": "~master"), we are met with the following:

Compiling diet template 'ddox.overview.dt' (compat)...
/usr/include/dlang/dmd/core/stdc/stdarg.d(215): Error: 'std.variant.VariantN!32LU.VariantN.opAssign!(VariantN!32LU).opAssign' is not nothrow
/usr/include/dlang/dmd/core/stdc/stdarg.d(205): Error: function 'core.stdc.stdarg.va_arg!(VariantN!32LU).va_arg' is nothrow yet may throw
/usr/include/dlang/dmd/core/stdc/stdarg.d(201): Error: template instance core.stdc.stdarg.va_arg!(VariantN!32LU) error instantiating
../.dub/packages/vibe-d-master/source/vibe/templ/diet.d-mixin-105(107):        instantiated from here: va_arg!(VariantN!32LU)
../.dub/packages/vibe-d-master/source/vibe/templ/diet.d(93):        instantiated from here: compileDietFileCompatV!("ddox.overview.dt", HTTPServerRequest, "req", DocPageInfo, "info")
source/ddox/htmlgenerator.d(249):        instantiated from here: compileDietFileCompat!("ddox.overview.dt", HTTPServerRequest, "req", DocPageInfo, "info")
@mrkline
Copy link
Author

mrkline commented Aug 21, 2014

Upon further examination, it looks like this is coming from vibe. I'll open an issue there.

@mrkline mrkline closed this as completed Aug 21, 2014
@mrkline mrkline reopened this Aug 21, 2014
@mrkline
Copy link
Author

mrkline commented Aug 21, 2014

Scratch that. The issue is emanating from vibe's templ/diet.d, but vibe builds cleanly on my system. It must be how it is being invoked from ddox/htmlgenerator.d

@MartinNowak
Copy link
Member

Workaround is in #55.

@s-ludwig
Copy link
Member

#55 has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants