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
Not working with std::string_view #3
Comments
yea I figured that was it, good luck getting it from the project settings, VS extension dev is a pain :p |
I just submitted version 0.2.2 which should autodetect the language version from the project configuration. @lukaasm I think adding a command for the options directly in the Tools tab is a good idea, I will do it. As a workaround, without having to create an empty file, you can open the tool window directly here: Let me know if the issue got fixed at your end. |
Yep, seems to work now, thanks! :) |
Awesome! Thanks for verifying it! |
code:
#include <string_view>
void f()
{
std::string_view name, prefix, suffix;
}
struct MyStruct
{
int x, y, z;
};
output:
[19:23:57] Looking for structures at D:\C++\Testing\TestCode\TestCode\src\struct_layout.cpp:8:11...
[19:23:57] COMMAND LINE: D:\C++\Testing\TestCode\TestCode\src\struct_layout.cpp -- -x c++ -m64 -w -DFORCE_STATIC_VCRT -D_MBCS -ID:\C++\Testing\TestCode\TestCode\SDL\ -ID:\C++\Testing\TestCode\TestCode\include
[19:23:57] Execution Log:
D:\C++\Testing\TestCode\TestCode\src\struct_layout.cpp:5:7: error: no type named 'string_view' in namespace 'std'
std::string_view name, prefix, suffix;
~~~~~^
1 error generated.
Error while processing D:\C++\Testing\TestCode\TestCode\src\struct_layout.cpp.
[19:23:57] [ERROR] Unable to scan the given location. (37.0765 ms)
The text was updated successfully, but these errors were encountered: