New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34517 (new defect)

Opened 12 months ago

Last modified 12 months ago

stardict: variable length array of non-POD element type

Reported by: ryandesign@… Owned by: alexandernx@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: lion Cc:
Port: stardict

Description

stardict 3.0.2 fails to build on the Lion buildbot with the error:

t_lookupdata.cpp:20:30: error: variable length array of non-POD element type 'std::vector<gchar *>'
        std::vector<gchar *> reslist[dictmask.size()];
                                    ^
1 error generated.
make[2]: *** [t_lookupdata.o] Error 1

Maybe updating to 3.0.3 will help, maybe not.

Change History

comment:1 in reply to: ↑ description Changed 12 months ago by haianjxw@…

Replying to ryandesign@…:

stardict 3.0.2 fails to build on the Lion buildbot with the error:

t_lookupdata.cpp:20:30: error: variable length array of non-POD element type 'std::vector<gchar *>'
        std::vector<gchar *> reslist[dictmask.size()];
                                    ^
1 error generated.
make[2]: *** [t_lookupdata.o] Error 1

Maybe updating to 3.0.3 will help, maybe not.

It works with: sudo port install stardict configure.compiler=llvm-gcc-4.2

Note: See TracTickets for help on using tickets.