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

Lab 4 Small Confusion #93

Open
NickyDCFP opened this issue Mar 11, 2023 · 1 comment
Open

Lab 4 Small Confusion #93

NickyDCFP opened this issue Mar 11, 2023 · 1 comment

Comments

@NickyDCFP
Copy link
Contributor

This didn't trip me up for too long since I'm used to problems with C++ version dependencies, but I suffered a small setback because I used std::popcount, which is only in C++20, in my exercise3 solution. I was getting an error popcount is not a member of std, which I fixed by taking a quick peek at the previous labs' code and adding the following line to my dv CML: target_compile_features(tests PRIVATE cxx_std_20)

It might be nice to include a quick comment that this line is necessary to use C++20 language features.

@ShinyMiraidon
Copy link
Contributor

More info can't hurt. If you want to submit a pull request adding the info to the lab guide I can look it over @NickyDCFP

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

2 participants