JustasMasiulis / xorstr

heavily vectorized c++17 compile time string encryption.
Apache License 2.0
1.19k stars 193 forks source link

C++ requires a type specifier for all declaration #57

Closed ghost closed 1 year ago

ghost commented 1 year ago

Jut got an error "C++ requires a type specifier for all declaration", and I have no idea what is wrong. How do I fix it?

image

JustasMasiulis commented 1 year ago

Is your project configured for C++17?

ghost commented 1 year ago

Yes

JustasMasiulis commented 1 year ago

If it's an actual error and not just a red squiggle, can you post the compiler output?

ghost commented 1 year ago

It's an actual error. Nevermind, I didn't saw there was another cmake files, so I added C++17 flag for it too