Opened 12 years ago

Last modified 12 years ago

#36776 closed defect

simutrans @111.2.2 Build Failed — at Version 2

Reported by: hal_1984@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: clang Cc:
Port: simutrans

Description (last modified by mf2k (Frank Schima))

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

Change History (2)

comment:1 Changed 12 years ago by hal_1984@…

Cc: hal_1984@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: hal_1984@… removed
Description: modified (diff)

In the future, please use WikiFormatting.

Please attach the complete main.log.

Note: See TracTickets for help on using tickets.