X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_GW,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <542247.39468.qm@web114720.mail.gq1.yahoo.com> Date: Fri, 13 Aug 2010 11:07:00 -0700 (PDT) From: "Cary R." Subject: Problem with -D_GLIBCXX_DEBUG and cppcheck To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On my Linux machine I'm using the latest cppcheck from git since it has bug fixes I need to test my code. Now that it's mostly working I tried to compile it on Cygwin so I would have it available there as well. I ran into a few problems and after some debug it appears to be a problem with the -D_GLIBCXX_DEBUG flag. My cppcheck bug report for this can be found here: https://sourceforge.net/apps/trac/cppcheck/ticket/1929. I'm not a cppcheck maintainer so I can't provide much more help than submitting this report. This is using the latest Cygwwin running on Windows XP Pro SP 3 32 bit. CYGWIN_NT-5.1 cdr-laptop 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin g++ (GCC) 4.3.4 20090804 (release) 1 If you need more information please let me know. You should be able to reproduce the test crash just by compiling and testing (make test) the latest code from git (git clone git://github.com/danmar/cppcheck.git) since it has the -D_GLIBCXX_DEBUG flag already set. This has not been noticed with the actual releases on Cygwin since cppcheck only uses that flag during development. Cary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple