On Mar 16, 2008, at 4:17 PM, [EMAIL PROTECTED] wrote: > Hans-Christoph Steiner ha scritto: >> Hey, >> >> There is a strange build issue with tclpd. Basically, the first time >> you try to build it, swig throws an error, but generates tcl_wrap.cxx >> anyway. Then the second time things build. Here's the build >> transcript, the error seems to be "Syntax error in input": >> >> [EMAIL PROTECTED]:externals > make tclpd >> >> [...] > > is your problem reproducible with vanilla pd? > how's pd-extended's m_pd.h differs from vanilla's m_pd.h ? > > > I give a quick check, and I see that line 467 of pd-extended: > > http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd- > extended/v0-40/pd/src/m_pd.h?revision=9168&view=markup#l_460 > > it's different from vanilla pd: > > http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/pd/src/ > m_pd.h?revision=9590&view=markup#l_442 > > just compare the two sources. > you will find the answer by yourself (I hope). I am not sure what > "__attribute__ ((format (printf, 1, 2)));" is for. > > if it gives trouble, you can always disable the wrapping of this > function by swig, but I believe error() is required by externals > written > in Tcl, so it would not be a clever solution. > > -- > Federico Ferri
Yee haw, it's fixed: http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/ tclpd/tcl.i?r1=8736&r2=9591 Apparently, swig doesn't quite know about the GNU extensions to C. .hc ------------------------------------------------------------------------ ---- All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated.... -John Donne _______________________________________________ PD-dev mailing list [email protected] http://lists.puredata.info/listinfo/pd-dev
