[MacPorts] #33045: cadabra: build fails with clang

MacPorts noreply at macports.org
Mon Jul 16 17:41:45 PDT 2012


#33045: cadabra: build fails with clang
------------------------------+---------------------------------------------
 Reporter:  iteloo@…          |       Owner:  gwright@…           
     Type:  defect            |      Status:  new                 
 Priority:  Normal            |   Milestone:                      
Component:  ports             |     Version:  2.0.3               
 Keywords:  clang             |        Port:  cadabra             
------------------------------+---------------------------------------------

Comment(by jmr@…):

 Log: http://build.macports.org/builders/buildports-lion-
 x86_64/builds/2693/steps/compile/logs/stdio/text

 The code appears to be genuinely incorrect. Relevant errors are:
 {{{
 widgets.cc:356:15: error: redefinition of 'err' with a different type
                 std::string err=handle_latex_errors(result);
                             ^
 widgets.cc:350:26: note: previous definition is here
         catch(std::logic_error& err) {
                                 ^
 }}}
 and
 {{{
 In file included from display.cc:24:
 In file included from ./modules/algebra.hh:29:
 ./youngtab.hh:587:23: error: invalid use of nonstatic data member 'rows'
                 if(++column_number==rows[row_number]) {
                                     ^~~~
 ./youngtab.hh:602:18: error: invalid use of nonstatic data member 'rows'
                         column_number=rows[row_number].size()-1;
                                       ^~~~
 }}}

 Temporarily blacklisted clang in r95560 until a fix can be applied.

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


More information about the macports-tickets mailing list