When launching Dev-C++, it crashes on startup, mentioning 'TCppParser.Load' in the provided stack trace.
Explanation
Newer versions of Dev-C++ are not compatible with the code completion cache of Dev-C++ 4.9.9.2. This cache file (cache.ccc) is located at %APPDATA%\Dev-Cpp\ and is used from that location by both old and new versions of Dev-C++.
This file has to be recreated by more recent versions of Dev-C++, because the binary format has changed. This is also recommended because the information inside the cache created by (for example) Dev-C++ 4.9.9.2 is invalid for a more recent version, because it's based on the header files of the different compiler of 4.9.9.2.
Fixes
(Recreate the cache, easy way) Remove the 'Dev-Cpp' folder in %APPDATA%, launch the latest version of Dev-C++ and let it reconfigure itself.
(Recreate the cache, hard way) Remove the cache.ccc file in %APPDATA%\Dev-Cpp, launch the latest version of Dev-C++ and add headers to the cache via Tools >> Editor Options >> Class Browsing >> Completion.
(Alternative) Tell old and new versions to store their config files at different places, using the '-c' command. For example, launching Dev-C++ using '"(program files)\Dev-Cpp\devcpp.exe" -c config\' will tell Dev-C++ to store its files (including cache.ccc) somewhere else.
Last edit: orwelldevcpp 2012-10-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Problem
When launching Dev-C++, it crashes on startup, mentioning 'TCppParser.Load' in the provided stack trace.
Explanation
Newer versions of Dev-C++ are not compatible with the code completion cache of Dev-C++ 4.9.9.2. This cache file (cache.ccc) is located at %APPDATA%\Dev-Cpp\ and is used from that location by both old and new versions of Dev-C++.
This file has to be recreated by more recent versions of Dev-C++, because the binary format has changed. This is also recommended because the information inside the cache created by (for example) Dev-C++ 4.9.9.2 is invalid for a more recent version, because it's based on the header files of the different compiler of 4.9.9.2.
Fixes
Last edit: orwelldevcpp 2012-10-31