Altera_Forum
Honored Contributor
22 years agoNIOS 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