Conversation
|
Could you post a full repro and the error from MSVC for future reference? |
|
Full Repro can be achieved by simply disabling this #ifdef. I suspect the error has something to do with the depth of template nesting but wasn't able to narrow down the repro case any further. Full log of what I see locally here: |
|
Considering that MSVC 2017 is too buggy to support |
|
This is happening in the latest MSVC, 2019. This is also the only place it fails. |
That's unfortunate but I don't think the version matters. If MSVC fails in such basic case, it can fail on user code making enabling |
Per comments in #2038, This is just the proper fix for a previous attempt at working around this compile error. Though Microsoft reported that a related error had been resolved (https://developercommunity.visualstudio.com/content/problem/1256077/internal-compiler-failure-with-macro-defining-lamb.html) in the latest build of MSVC, the more complex case is still a problem, which I've reported here: https://developercommunity.visualstudio.com/content/problem/1277597/internal-compiler-c0001-error-on-complex-nested-la.html