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

pass one tag for all remaining parameter types #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stbuehler
Copy link

@stbuehler stbuehler commented Mar 22, 2017

rebased #8, removed changes to exception.hpp as they should have been fixed in #10.

also doesn't include the moving of enable_if from auto return type to template type parameter (if needed: stbuehler@rebase-pull-8-add has the change in a separate commit).

make tag a variadic template and use it to pass multiple types in one go
to readIntoFunction.

This fixes an Internal Compiler Error on VS 2015.2:

@ThePhD
Copy link

ThePhD commented Mar 22, 2017

Oh, you've already done the rebase here. Well, thanks for that! If you still need my help, do let me know...

@stbuehler
Copy link
Author

@ThePhD it would be nice if you could confirm the modified patch still fixes the problem :)

@Habbie
Copy link
Collaborator

Habbie commented Mar 23, 2017

This PR is conflicted now.

make tag a variadic template and use it to pass multiple types in one go
to readIntoFunction.

This fixes an Internal Compiler Error on VS 2015.2:
- fixes ahupowerdns#7
- closes ahupowerdns#8
@stbuehler
Copy link
Author

Conflicts should been resolved now.

@Habbie
Copy link
Collaborator

Habbie commented Mar 25, 2017

@ThePhD can you test this patch?

@ThePhD
Copy link

ThePhD commented Mar 26, 2017

I basically only use luawrapper to compile some benchmark code (found here: https://github.com/ThePhD/lua-bench). It's not extensive by any means (only compiling with the latest VC++ in Visual Studio, honestly). Your fix works out:

All good

👍 💯 👌

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

Successfully merging this pull request may close these issues.

writeFunction<>() triggers "internal compiler error" in VS 2015
3 participants