Giter Site home page Giter Site logo

Comments (5)

Red-F0x avatar Red-F0x commented on July 19, 2024 1

I' am changed now to another IDE named "Notepad". (xD) Was just a joke. Thanks for quickly answers and bug resolving.

from issues.

PeterSommerlad avatar PeterSommerlad commented on July 19, 2024

That is definitely a bug in CDT's core components. However, it is in an area where a lot of contributions by our team happened, so we will take a look towards the unlimited recursion happening. However, your code example is illegal in several places, but especially such shouldn't cause the parser or IDE to crash. Thanks for giving us a new test case. I hope this didn't stop you using Eclipse.

from issues.

fmorgner avatar fmorgner commented on July 19, 2024

I wasn't able to reproduce the Problem with the given snippet. However, the following code produces the error:

#include <initializer_list>

template <typename Type>
struct template_type_base {};

template <typename Type>
struct template_type : public template_type_base<Type> {};

template <typename Type>
struct produce_error
{
	static constexpr auto value = template_type<Type>::value.size() - 1;
};

class Test {};

template <>
struct template_type<Test> : public template_type_base<int>
{
	static constexpr auto value = {""};
};

int main(int t_argc, char* t_argv[])
{
	// hoppala
	produce_error<Test>::value;
}

from issues.

fmorgner avatar fmorgner commented on July 19, 2024

The issue is fixed in the upcoming Eclipse CDT 9.2.1 which is scheduled for release in March. The problem was fixed in the following commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=a93b94b8226e9bcd6f759a265e8d01798b228984

The date of the next release of Cevelop has not been determined yet but it will include this patch. Until then, we hope you still enjoy working with Cevelop.

from issues.

fmorgner avatar fmorgner commented on July 19, 2024

Closing this issue since Cevelop 1.7.0 ships with the aforementioned patch.

from issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.