[MacPorts] #36776: simutrans @111.2.2 Build Failed

MacPorts noreply at macports.org
Sun Oct 28 14:39:46 PDT 2012


#36776: simutrans @111.2.2 Build Failed
-------------------------+--------------------------------
  Reporter:  hal_1984@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:              |   Keywords:
      Port:  simutrans   |
-------------------------+--------------------------------
Changes (by macsforever2000@…):

 * cc: hal_1984@… (removed)


Old description:

> clang: warning: clang: argument unused during compilation:
> '-L/opt/local/lib'
> warning: argument unused during compilation: '-L/opt/local/lib'
> freight_list_sorter.cc:114:2: error: variable length array of non-POD
> element type 'ware_t'
>         ALLOCA(ware_t, wlist, warray.get_count());
>         ^
> ./simtypes.h:23:45: note: expanded from macro 'ALLOCA'
> #       define ALLOCA(type, name, count) type name[count]
>                                                   ^
> 1 error generated.
> make: *** [build/default/freight_list_sorter.o] Error 1

New description:

 {{{
 clang: warning: clang: argument unused during compilation:
 '-L/opt/local/lib'
 warning: argument unused during compilation: '-L/opt/local/lib'
 freight_list_sorter.cc:114:2: error: variable length array of non-POD
 element type 'ware_t'
         ALLOCA(ware_t, wlist, warray.get_count());
         ^
 ./simtypes.h:23:45: note: expanded from macro 'ALLOCA'
 #       define ALLOCA(type, name, count) type name[count]
                                                   ^
 1 error generated.
 make: *** [build/default/freight_list_sorter.o] Error 1
 }}}

--

Comment:

 In the future, please use WikiFormatting.

 Please attach the complete main.log.

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


More information about the macports-tickets mailing list