ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.46k stars 2.81k forks source link

Which is the last commit before C++17 support became a requirement? #3854

Closed samfux84 closed 3 years ago

samfux84 commented 3 years ago

Issue Prelude

Please complete these steps and check these boxes (by putting an x inside the brackets) before filing your issue:

Thank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.

Issue Details

On our HPC cluster, we feature multiple toolchains (GCC 4.8.5, 6.3.0, 8.2.0) mapped to C++ standards (11, 14, 17). I got a request from a cluster users to install the requirements needed for YouCompleteMe. This users and his institute are heavily using the GCC 6.3.0 toolchain and have all their software setup for this particular toolchain.

I would like to prevent that the users have to install all their software for GCC 8.2.0 (this will happen, but rather in the future). I thought that looking for an older version of YouCompleteMe that is only requiring C++14 support would solve this conflict.

When looking at the YouCompleteMe github repository, I noticed that this software does not have a versioning beyond git commits (no releases, no tags). How can I find out which is the last commit, before the code was changed according to the C++17 standard?

Any help is appreciated. Thank you in advance

Sam

puremourning commented 3 years ago

I have pushed a branch legacy-c++11 to the main repo, which can be checked out:

For people using plugin managers, see your plugin manager documentation for how to set a branch to checkout.

Let me know if that works for you and I'll drop a note in the readme.

ta Ben

samfux84 commented 3 years ago

@puremourning Thank you for your fast answer and for pushing a legacy branch of YouCompleteMe. This should resolve the issue. Today I am fully booked with appointments, but tomorrow I will try to compile the software myself and then provide you some feedback if it worked. Again, thank you for your help.

samfux84 commented 3 years ago

Compiling with GCC 6.3.0 worked perfectly fine. Thank you again for your help