[MacPorts] #44034: [arm-none-linux-gnueabi-gcc] Build Error Issue

MacPorts noreply at macports.org
Fri Feb 27 07:33:04 PST 2015


#44034: [arm-none-linux-gnueabi-gcc] Build Error Issue
-----------------------------------------+-------------------------------
  Reporter:  ktitt27@…                   |      Owner:  stuartwesterman@…
      Type:  defect                      |     Status:  new
  Priority:  Normal                      |  Milestone:
 Component:  ports                       |    Version:  2.3.0
Resolution:                              |   Keywords:
      Port:  arm-none-linux-gnueabi-gcc  |
-----------------------------------------+-------------------------------

Comment (by larryv@…):

 Here’s the contents of that paste:
 {{{
 ./gtype-cp.h:410:7: warning: switch condition has boolean value
       switch (((*x).u).h.is_lang_type_class)
       ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./gtype-cp.h:412:14: warning: overflow converting case value to switch
 condition type (2 to 0) [-Wswitch]
         case 2:
              ^
 ./gtype-cp.h:431:14: error: duplicate case value '0'
         case 0:
              ^
 ./gtype-cp.h:412:14: note: previous case defined here
         case 2:
              ^
 mv -f Tcollect2 collect2
 ./gtype-cp.h:857:7: warning: switch condition has boolean value
       switch (((*x).u).h.is_lang_type_class)
       ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./gtype-cp.h:859:14: warning: overflow converting case value to switch
 condition type (2 to 0) [-Wswitch]
         case 2:
              ^
 ./gtype-cp.h:879:14: error: duplicate case value '0'
         case 0:
              ^
 ./gtype-cp.h:859:14: note: previous case defined here
         case 2:
              ^
 ./gtype-cp.h:1475:3: warning: switch condition has boolean value
   switch (((*x).u).h.is_lang_type_class)
   ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ./gtype-cp.h:1477:10: warning: overflow converting case value to switch
 condition type (2 to 0) [-Wswitch]
     case 2:
          ^
 ./gtype-cp.h:1511:10: error: duplicate case value '0'
     case 0:
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44034#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list