Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Hyena on March 02, 2020, 11:55:06 am

Title: Code-completion in modern C++, when new release?
Post by: Hyena on March 02, 2020, 11:55:06 am
It's been so many years since you made the last release and some of the crucial code-completion aspects are not working with the new C++ features such as brace initialization and typed enum classes.

I am starting to consider switching the IDE because of this, but maybe you are just about to make the next official release? If that's the case, I'd be willing to wait a couple of months. Let me know if there is any hope for the next release yet or not. Thanks!
Title: Re: Code-completion in modern C++, when new release?
Post by: Khram on March 02, 2020, 01:12:54 pm
A very long wait, I agree. And also, version 17.12 is not working absolutely.  :'(
Title: Re: Code-completion in modern C++, when new release?
Post by: oBFusCATed on March 04, 2020, 06:33:02 pm
There would be a release soon, but I'm not sure it will fix your CC problems. You can try a night build to see if this is the case.
Title: Re: Code-completion in modern C++, when new release?
Post by: Hyena on March 05, 2020, 11:49:02 am
There would be a release soon, but I'm not sure it will fix your CC problems. You can try a night build to see if this is the case.

Is the source code available from git somewhere?
Title: Re: Code-completion in modern C++, when new release?
Post by: oBFusCATed on March 05, 2020, 08:32:07 pm
The source of the release? Yes it is in the release 20.xx branch on my repo or in svn.

https://github.com/obfuscated/codeblocks_sf/commits/release-20.xx
Title: Re: Code-completion in modern C++, when new release?
Post by: Hyena on March 06, 2020, 12:41:53 pm
The source of the release? Yes it is in the release 20.xx branch on my repo or in svn.

https://github.com/obfuscated/codeblocks_sf/commits/release-20.xx

How do you keep them in synch?

Is there any way I could verify SVN and your git repo contain the same code?
Title: Re: Code-completion in modern C++, when new release?
Post by: oBFusCATed on March 07, 2020, 12:35:46 am
I use git svn fetch/git push combos. You can download them both and do some check summing or diffing if you want to be 100% sure. If you want minimal reassurance then you can check the git commits for the svn revision (they have it in the commit message)...
Title: Re: Code-completion in modern C++, when new release?
Post by: Hyena on March 09, 2020, 01:31:39 pm
I built codeblocks 20.xx branch. The program starts but is unusable. See the attached screenhots. I am unable to open an existing project and there are no plugins either which I could enable to satisfy the first error message.

Also, when I click help -> about, the program crashes
Title: Re: Code-completion in modern C++, when new release?
Post by: oBFusCATed on March 09, 2020, 11:27:24 pm
How have you built the plugin? If you've used make install (without passing custom --prefix to configure) you've mess your system up. Also you have to uninstall the old codeblocks if you're going to install in the default location (/usr/local/).
Title: Re: Code-completion in modern C++, when new release?
Post by: Hyena on March 10, 2020, 12:22:37 pm
How have you built the plugin? If you've used make install (without passing custom --prefix to configure) you've mess your system up. Also you have to uninstall the old codeblocks if you're going to install in the default location (/usr/local/).

I didn't install anything. Just executed the binary in the src/src folder.

edit:

I tried both:

./configure --with-contrib-plugins=all

and

./configure --prefix=/usr --with-contrib-plugins=all,-help

same results
Title: Re: Code-completion in modern C++, when new release?
Post by: oBFusCATed on March 10, 2020, 08:53:07 pm
You need to do make install if you want to have a working binary. Using --prefix=/usr is even worse than using the default. It will mess with the files of the package manager and it might break it. Use a prefix in your home folder to be safe or something like /opt/codeblocks/...