Re: cl.exe hangs while compiling in MSVS 7.1 VC++

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Stuart Whelan (stuart_at_simhardware.co.nz)
Date: 07/20/04

  • Next message: Tarek Madkour [MSFT]: "Re: Static Libraries and dependencies"
    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.
    > --------------------
    >


  • Next message: Tarek Madkour [MSFT]: "Re: Static Libraries and dependencies"

    Relevant Pages

    • RE: cl.exe hangs while compiling in MSVS 7.1 VC++
      ... it appears some compile optimizations cause the compiler to hang. ... I suggest you can firstly disable all the optimization options of the ...
      (microsoft.public.vc.ide_general)
    • Re: Using a Combo Box to Find Records
      ... I didn't know you understood Jeanette's suggestion based on what you wrote. ... control name in actual code. ... Leftwould generate a compile error because you need to specify ... Private Sub CboMoveTo_AfterUpdate ...
      (microsoft.public.access.forms)
    • Re: VS2005 mixed project intellisense confusion
      ... No idea or suggestion but my advice always is to keep the two project ... references, not via the links: ... wrong selection) the next compile run for the active project (or any ... except the primary) fails as the IDE compiled the respective module with ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: Deleting autotext from normal.dotm
      ... But his suggestion won't compile. ... Note also - I see that this group is for VBA, not VB6, but it's ... it's really there) after WordApp. ...
      (microsoft.public.word.vba.general)
    • Re: Contributing to FreeBSD list of things todo
      ... > I have a suggestion for things dev people could do to help out with ... I noticed the suggestion for compiling with -Wall ... Would it serve any purpose to compile the sources with -ansi ... with large sets of warning flags via the WARNS variable in Makefiles. ...
      (freebsd-hackers)