Strange compiler error
-
Hi, I got this strange compiler error here is the source line
for (i=MAX_DECIMAL_DIGITS-1, j=MAX_DECIMAL_DIGITS-1-effective_addr2;
i >= 0; i--, j--)The solution/project project compiles cleanly in a different directory where the other source files are different but the source file is the same thanks
-
Hi, I got this strange compiler error here is the source line
for (i=MAX_DECIMAL_DIGITS-1, j=MAX_DECIMAL_DIGITS-1-effective_addr2;
i >= 0; i--, j--)The solution/project project compiles cleanly in a different directory where the other source files are different but the source file is the same thanks
-
That error message is a bit confusing. It mentions a source line at first, but then shows an error in the linker.
-
Hi, I got this strange compiler error here is the source line
for (i=MAX_DECIMAL_DIGITS-1, j=MAX_DECIMAL_DIGITS-1-effective_addr2;
i >= 0; i--, j--)The solution/project project compiles cleanly in a different directory where the other source files are different but the source file is the same thanks
I had such compiler errors in the past with older VC versions.
Quote:
To work around this problem, try simplifying or changing the program near the locations listed above.
I always solved the problem following the above. There was one case where it could be solved by just exchanging two lines of code. In the other cases, I re-ordered some code or moved code to an additional function. I don't remember if I had the linker error afterwards too. But it is obviously sourced by the compiler error (the compiler exits immediately when that error occurs).