[MacPorts] #34517: stardict: variable length array of non-POD element type

MacPorts noreply at macports.org
Sat May 19 17:02:12 PDT 2012


#34517: stardict: variable length array of non-POD element type
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  alexandernx@…        
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  2.1.1                
 Keywords:  lion                     |        Port:  stardict             
-------------------------------------+--------------------------------------

Comment(by haianjxw@…):

 Replying to [ticket:34517 ryandesign@…]:
 > [http://build.macports.org/builders/buildports-lion-
 x86_64/builds/884/steps/compile/logs/stdio 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 [ticket:34516 updating to 3.0.3] will help, maybe not.

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

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


More information about the macports-tickets mailing list