Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

NIOS II IDE BUG

I thought I'd post this in case other people are having a similar problem. It appears that there is a problem with the C Development Tools that ship with the Eclipse IDE. If code of the following structure appears in a source file and the environment tries to parse the file (just saving or opening it is enough) then the java virtual machine starts to consume 99% of CPU resources.

typedef struct

{

} FirstStruct;

struct SecondStruct

{

FirstStruct *FirstStruct;

};

void TestFunc(void)

{

FirstStruct *Dummy;

}

Although this is an artificial example, it occured with some real life code that I had ported to NIOS II. Renaming the line "FirstStruct *FirstStruct;" to "FirstStruct *pFirstStruct;" solves the problem.

Can anyone else confirm that this is a problem?

Alistair

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I fully reproduced this issue, and Altera is now looking into the problem.

    Thanks!