[MacPorts] #27789: cppcheck: fails to install in Leopard

MacPorts noreply at macports.org
Sun Dec 26 16:21:25 PST 2010


#27789: cppcheck: fails to install in Leopard
------------------------------+---------------------------------------------
 Reporter:  jpo@…             |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:                    |        Port:  cppcheck                             
------------------------------+---------------------------------------------

Comment(by paj-macports@…):

 I don't have a Leopard installation on which to test (shall build a VM
 this week). The following patch should work:

 {{{

 diff --git a/test/testsuite.h b/test/testsuite.h
 index 69fb777..f83d721 100644
 --- a/test/testsuite.h
 +++ b/test/testsuite.h
 @@ -23,6 +23,9 @@
  #include <sstream>
  #include "errorlogger.h"
  #include "redirect.h"
 +#ifdef assert
 +#   undef assert
 +#endif

  class options;
  }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27789#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list