My compiler is acting up. When I have building error, the left margin
pointer will point to the wrong line. Sometimes, the deferent between the
line that has the error and the line it pointed to can be more than twenty
lines.
Sometimes, It will give error message for something that I commented (//).
As soon as I delete the commented line, the building error will disappear .
Göran Andersson - 12 Jul 2007 19:09 GMT
> My compiler is acting up. When I have building error, the left margin
> pointer will point to the wrong line. Sometimes, the deferent between the
[quoted text clipped - 4 lines]
>
> As soon as I delete the commented line, the building error will disappear .
I think that is a problem with Visual Studio rather than the compiler.
Sometimes it seems like it doesn't clear the list of errors before
compiling, so that you get a mix of old errors and new.
Try to switch between debug mode and release mode and see if the error
list clears up.

Signature
Göran Andersson
_____
http://www.guffa.com
Allen Maki - 13 Jul 2007 02:00 GMT
Hi Goran,
I tried to find a release mode, but could not find it. I am using V C++
.NET 2003.
Thanks.
>> My compiler is acting up. When I have building error, the left margin
>> pointer will point to the wrong line. Sometimes, the deferent between
[quoted text clipped - 15 lines]
> Try to switch between debug mode and release mode and see if the error
> list clears up.
Allen Maki - 13 Jul 2007 02:28 GMT
I just found the problem thanks to Brad (god bless his heart). You have to
do the following:
RESOLUTION
1. Open the source file in the Visual Studio .NET editor.
2. On the File menu, click Advanced Save Options.
3. In the Line Endings list box, click Windows (CR LF), and then click OK.
4. Save the file.
5. Compile the project.
> My compiler is acting up. When I have building error, the left margin
> pointer will point to the wrong line. Sometimes, the deferent between the
[quoted text clipped - 5 lines]
> As soon as I delete the commented line, the building error will disappear
> .