Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

Upon compiling with VStudio 2017 get many errors #36

Closed
juandent opened this issue Aug 28, 2017 · 7 comments
Closed

Upon compiling with VStudio 2017 get many errors #36

juandent opened this issue Aug 28, 2017 · 7 comments
Labels

Comments

@juandent
Copy link

Dear Roland,

When compiling project Sqlpp11Sqlite3SelectTest, I get these errors in VStudio 2017 version 15.3.2:

 error C3546: '...': there are no parameter packs available to expand (in sqlpp11/statement.h(166))
 error C3546: '...': there are no parameter packs available to expand (in sqlpp11/statement.h(173):
error C3546: '...': there are no parameter packs available to expand (in sqlpp11/statement.h(179)
error C2903: '_base_t': symbol is neither a class template nor a function template (in sqlpp11/statement.h(179)
error C2903: '_base_t': symbol is neither a class template nor a function template (in sqlpp11/statement.h(258)

Any ideas?

Regards,
Juan Dent

@rbock
Copy link
Owner

rbock commented Aug 29, 2017

Dear Juan,

This is a bug in VS2017 15.3, see

https://developercommunity.visualstudio.com/content/problem/95983/c-vs152-153-regression-in-variadic-template-argume.html

as reported by @egorpugin, see also here

rbock/sqlpp11#181

I see no way to work around this.

Best,

Roland

@juandent
Copy link
Author

Dear Roland,
Well, we will have to wait I guess!!

Regards,
Juan

@rbock rbock added the MSVC label Nov 10, 2017
@juandent
Copy link
Author

juandent commented Dec 1, 2017

Dear Roland,
The code compiles in the latest preview of Visual Studio (v 15.5.0 preview 5)...
Still have to wait until they merge this to a definite release but one can work (at least)...

@rbock
Copy link
Owner

rbock commented Dec 2, 2017

Thanks for the update Juan!

That is very good news.

@juandent
Copy link
Author

juandent commented Dec 6, 2017

Microsoft has finally corrected the compiler bugs that created this issue. Version 15.5.0 of Visual Studio 2017 can be downloaded from https://www.visualstudio.com/downloads where you should select Free Donwload in the Visual Studio Community Edition section.

@juandent juandent closed this as completed Dec 6, 2017
@rbock
Copy link
Owner

rbock commented Dec 6, 2017

Thanks for the information and the link!

@juandent
Copy link
Author

juandent commented Dec 6, 2017

You are very welcome!!

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

No branches or pull requests

2 participants