[MacPorts] #43097: arm-elf-gdb: error: non-void function 'ARMul_MRC' should return a value (was: arm-elf-gdb fails to build)

MacPorts noreply at macports.org
Thu Mar 27 14:11:36 PDT 2014


#43097: arm-elf-gdb: error: non-void function 'ARMul_MRC' should return a value
--------------------------+--------------------------------
  Reporter:  irony42@…    |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:  duplicate    |   Keywords:
      Port:  arm-elf-gdb  |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => duplicate


Old description:

> The problem is:
>
> ... /work/gdb-7.1/sim/arm/armsupp.c:639:7: error: non-void function
> 'ARMul_MRC' should return a value [-Wreturn-type]
>
> The port builds fine once this is corrected (either by changing the
> offending line or by disabling -Wreturn-type).

New description:

 The problem is:

 {{{
 ... /work/gdb-7.1/sim/arm/armsupp.c:639:7: error: non-void function
 'ARMul_MRC' should return a value [-Wreturn-type]
 }}}

 The port builds fine once this is corrected (either by changing the
 offending line or by disabling -Wreturn-type).

--

Comment:

 Duplicate of #39916.

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


More information about the macports-tickets mailing list