From: SourceForge.net <no...@so...> - 2012-07-30 16:30:05
|
Bugs item #3552132, was opened at 2012-07-30 09:30 Message generated for change (Tracker Item Submitted) made by garfieldnate You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3552132&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: java Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nathan Glenn (garfieldnate) Assigned to: William Fulton (wsfulton) Summary: 2.0.7-2 on Cygwin problems with %extend Initial Comment: I am running Cygwin on a Windows 7 4-bit machine. I am compiling the PocketSphinxAndroidDemo project, (source and details are [http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/comment-page-2/#comment-3559 here]). I updated my version of Swig on Cygwin to 2.0.7-2 and suddenly the build would no longer work. Swig complains about all of the constructors, saying that they need a return type, and the destructors, saying that they are illegal: $ swig -java -package edu.cmu.pocketsphinx -outdir edu/cmu/pocketsphinx pocketsphinx.i pocketsphinx.i:75: Warning 504: Function hyp_s::Hypothesis(char const *,char const *,int) must have a return type. Ignored. pocketsphinx.i:80: Warning 521: Illegal destructor name hyp_s::~Hypothesis(). Ignored. pocketsphinx.i:141: Warning 504: Function nbest_s::Nbest(Decoder *) must have a return type. Ignored. pocketsphinx.i:146: Warning 521: Illegal destructor name nbest_s::~Nbest(). Ignored. pocketsphinx.i:87: Warning 504: Function cmd_ln_s::Config() must have a return type. Ignored. pocketsphinx.i:91: Warning 504: Function cmd_ln_s::Config(char const *) must have a return type. Ignored. pocketsphinx.i:94: Warning 521: Illegal destructor name cmd_ln_s::~Config(). Ignored. pocketsphinx.i:127: Warning 504: Function ps_seg_s::SegmentIterator() must have a return type. Ignored. pocketsphinx.i:133: Warning 504: Function ps_lattice_s::Lattice() must have a return type. Ignored. pocketsphinx.i:165: Warning 504: Function ps_decoder_s::Decoder() must have a return type. Ignored. pocketsphinx.i:169: Warning 504: Function ps_decoder_s::Decoder(Config *) must have a return type. Ignored. pocketsphinx.i:203: Warning 521: Illegal destructor name ps_decoder_s::~Decoder(). Ignored. When I went back to version 1.3.40-1, the build worked fine without any warnings. Swigwin 2.0.7 does not appear to have the same problems. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3552132&group_id=1645 |