I've released a new source tarball (0.1.13-alpha) with the fix.  -David

On Wed, 2010-12-08 at 17:41 -0600, David Psenicka wrote:

> It looks like boost changed their API slightly...  The attached patch
> *should* take care of it.  I'll upload a new source tarball as soon as
> I have a chance to test it.
> 
> -David
> 
> On Wed, 2010-12-08 at 14:27 -0800, Fernando Lopez-Lezcano wrote: 
> 
> > On 12/04/2010 01:24 AM, David Psenicka wrote:
> > > This release includes major fixes involving compound meter/time
> > > signatures, detached marks and mark events, as well many minor fixes and
> > > more documentation additions and revisions. Thanks again for everyone's
> > > bug reports, suggestions and help.
> > 
> > I'm trying to build on fc14:
> > 
> > ----
> > exec.cc: In function 'execout::execpid execout::exec(execout::execout*, 
> > const char*, const std::vector<std::basic_string<char> >&, const 
> > module_list&, const char*)':
> > exec.cc:81:75: error: no matching function for call to 
> > 'boost::iostreams::file_descriptor_source::file_descriptor_source(int&, 
> > bool)'
> > /usr/include/boost/iostreams/device/file_descriptor.hpp:197:5: note: 
> > candidates are: 
> > boost::iostreams::file_descriptor_source::file_descriptor_source(const 
> > boost::iostreams::file_descriptor_source&)
> > /usr/include/boost/iostreams/device/file_descriptor.hpp:187:14: note: 
> >  
> > boost::iostreams::file_descriptor_source::file_descriptor_source(const 
> > char*, std::ios_base::openmode)
> > /usr/include/boost/iostreams/device/file_descriptor.hpp:183:14: note: 
> >  
> > boost::iostreams::file_descriptor_source::file_descriptor_source(const 
> > std::string&, std::ios_base::openmode)
> > /usr/include/boost/iostreams/device/file_descriptor.hpp:169:14: note: 
> >  
> > boost::iostreams::file_descriptor_source::file_descriptor_source(boost::iostreams::file_descriptor_source::handle_type,
> >  
> > boost::i\
> > ostreams::file_descriptor_flags)
> > /usr/include/boost/iostreams/device/file_descriptor.hpp:166:5: note: 
> >  
> > boost::iostreams::file_descriptor_source::file_descriptor_source()
> > m
> > ----
> > 
> > Would this be an appropriate patch? (it builds with this applied but I 
> > have not tested it):
> > 
> > ----
> > --- fomus-0.1.12-alpha/src/lib/mod/out/exec.cc~ 2010-04-22 
> > 00:30:37.000000000 -0400 
> >  
> > 
> > +++ fomus-0.1.12-alpha/src/lib/mod/out/exec.cc  2010-12-08 
> > 16:26:11.000000000 -0500 
> >  
> > 
> > @@ -78,7 +78,7 @@
> >       } 
> >  
> > 
> >       if (close(tmpstdin[1]) < 0) throw execerr(); // PARENT PROCESS 
> >  
> > 
> >       if (out) { 
> >  
> > 
> > -      out->open(boost::iostreams::file_descriptor_source(tmpstdin[0], 
> > true)); // open for reading 
> > 
> > +      out->open(boost::iostreams::file_descriptor_source((const 
> > std::string&)tmpstdin[0], (std::ios_base::openmode)true)); // open for 
> > reading 
> > 
> >       } else { 
> >  
> > 
> >         int nl = open("/dev/null", O_WRONLY); 
> >  
> > 
> >         if (nl < 0) throw execerr(); 
> >  
> > 
> > ----
> > 
> > -- Fernando
> 
> 


------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
fomus-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fomus-user

Reply via email to