[MacPorts] #35355: xbase @3.1.2 build failure

MacPorts noreply at macports.org
Fri Jul 27 05:06:39 PDT 2012


#35355: xbase @3.1.2 build failure
----------------------------------------+-----------------------------------
 Reporter:  gregori.emiliano@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:                                       
Component:  ports                       |     Version:  2.1.2                                
 Keywords:                              |        Port:  xbase                                
----------------------------------------+-----------------------------------
 The xbase @3.1.2 port will not build in Mac OS X Lion with XCode
 4.3.1.[[BR]]

 Mac OS X version: 10.7.4[[BR]]
 Xcode version: 4.3.1 (4E1019)[[BR]]
 compiler version: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on
 Apple Inc. build 5658) (LLVM build 2336.9.00)[[BR]]

 This is the log of the error:[[BR]]

 {{{
 dumprecs.cpp:87:9: error: redefinition of 'i'
     int i = 0;
         ^
 dumprecs.cpp:73:11: note: previous definition is here
   for(int i=1; i<ac; ++i){
           ^
 40 warnings and 1 error generated.
 make[1]: *** [dumprecs.o] Error 1
 }}}

 The failure is due to a detection of a redeclared variable name in a
 nested scope. I attach  a patch file to correct the failure.

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


More information about the macports-tickets mailing list