[Clam-devel] Last commits: two API changes - Prototyper seg fault

Hernán Ordiales h at ordia.com.ar
Tue Jun 19 09:55:00 PDT 2007


On 6/19/07, Pau Arumi <parumi at iua.upf.edu> wrote:
> En/na Pau Arumi ha escrit:
> > En/na Hernán Ordiales ha escrit:
> >> good, now seems solved (is compiling here too) but i still get a
> >> segmentation fault with prototyper (last week was working)
> >>
[snip]
> > This bug is related with the one found on Windows (almost no
> > processing working in NE).
> > It seems that the Factory<Processing>::GetInstance() singleton is
> > _not unique_, and this is because GetInstance is defined in a
> > header used in different clamlibs and apps.
> >
> > Today David and me have been working with a solution for that,
> > which also goes in the "enriched processing factories" direction
> > (related with Andreas project).
> >
> > Will commit very soon.
> >
>
> Done!
>
> (Hopefully this fixes Windows. We'll find out soon...)
>
> revision 10256
>
>   * very large commit of all processings: Processing registration
> API changed
>   * New ProcessingFactory subclass with GetInstance() implemented
> in it's cxx.
>     this will hopefully fix a Windows bug
>   * With this change, Registrator cannot be a Factory inner class.
>     Now is a 2 arg template class: FactoryRegistrator<FactoryType,
> ConcreteType>

now all is working! (prototyper too)
very thanks!
-- 
Hernán
http://h.ordia.com.ar
GnuPG: 0xEE8A3FE9




More information about the clam-devel mailing list