Re: cl.exe hangs while compiling in MSVS 7.1 VC++
From: Stuart Whelan (stuart_at_simhardware.co.nz)
Date: 07/20/04
- Previous message: Matt Fletcher: "Build with VS.Net and link with MSVCRT.dll"
- In reply to: Gary Chang: "RE: cl.exe hangs while compiling in MSVS 7.1 VC++"
- Next in thread: Gary Chang: "Re: cl.exe hangs while compiling in MSVS 7.1 VC++"
- Reply: Gary Chang: "Re: cl.exe hangs while compiling in MSVS 7.1 VC++"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Jul 2004 22:22:52 +1200
Hello Gary,
Many thanks for the suggestion, I tried it and it did not seem to make any
difference.
I do believe I have found the cause of the problem though, which I will
record here as a suggestion for furture 'googlers'. :)
My AVG (network edition) virus checker had two extra options enabled: Use
heuristic Analysis and On-Close Scanning.
I disabled those two options and did a rebuild, it worked fine.
I then made some minor changes to the code it and have done an incremental
compile with no problems.
I will continue testing tomorrow (its 10:20pm here now), but take no news as
good news. :)
Thanks again for the suggestion and for taking the time to reply.
Kind Regards,
Stuart Whelan
Simulation Hardware LTD
""Gary Chang"" <v-garych@online.microsoft.com> wrote in message
news:0AXYMSibEHA.3848@cpmsftngxa06.phx.gbl...
> Hi Stuart,
>
> Since your program is compiled well in debug version but hang in release
> version, it appears some compile optimizations cause the compiler to hang.
>
> I suggest you can firstly disable all the optimization options of the
> release version configuration to check it: if the program can compile well
> without any compile optimizations, the you will find the bug by enable the
> original optimization options one by one per compiling.
>
>
> Thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Online Partner Support
>
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> --------------------
>
- Previous message: Matt Fletcher: "Build with VS.Net and link with MSVCRT.dll"
- In reply to: Gary Chang: "RE: cl.exe hangs while compiling in MSVS 7.1 VC++"
- Next in thread: Gary Chang: "Re: cl.exe hangs while compiling in MSVS 7.1 VC++"
- Reply: Gary Chang: "Re: cl.exe hangs while compiling in MSVS 7.1 VC++"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|