[PD] can't compile flext from cvs

Thomas Grill gr at grrrr.org
Sat Nov 6 09:52:07 CET 2004


Hi Patrick,
thanks for that... i fixed it and it will be in the cvs be tomorrow.

In the meantime, you could edit flattr_ed.cpp, at line 430 so that it looks
like that:

static size_t escapeit(char *dst,size_t maxlen,const char *src)
{
  int ret = 0;
  char *d;
  for(d = dst; *src && (d-dst) < (int)maxlen; ++src) {
  .........


all the best,
Thomas



----- Original Message ----- 
From: "patrick" <puredata at 11h11.com>
To: "pd-list" <pd-list at iem.at>
Sent: Friday, November 05, 2004 11:15 PM
Subject: [PD] can't compile flext from cvs


> fresh from cvs, i get this error when trying to compile flext:
>
> g++ -c -O2 -DFLEXT_SYS=2 -fPIC  -I/home/patrick/src/pd/src -I./source
> source/flattr_ed.cpp -o pd-linux/flattr_ed.ro
> source/flattr_ed.cpp: In function `size_t escapeit(char*, unsigned int,
> const
>    char*)':
> source/flattr_ed.cpp:436: name lookup of `d' changed for new ISO `for'
> scoping
> source/flattr_ed.cpp:430:   using obsolete binding at `d'
> make: *** [pd-linux/flattr_ed.ro] Error 1
>
>
> it works well from the website:
> http://grrrr.org/ext/flext/
> flext-0.4.7-pd-lnx.tgz <http://grrrr.org/ext/flext/flext-0.4.7-pd-lnx.tgz>
>
> patrick
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>





More information about the Pd-list mailing list