Re: Bug#697032: rcpp: FTBFS[kfreebsd]: #error "Rcpp::Timer not supported by your OS."

2013-01-10 Thread Guillem Jover
On Mon, 2012-12-31 at 17:41:52 +, Steven Chamberlain wrote:
> On 31/12/12 17:06, Dirk Eddelbuettel wrote:
> > https://r-forge.r-project.org/scm/viewvc.php/pkg/Rcpp/src/Timer.cpp?root=rcpp&r1=4182&r2=4181&pathrev=4182
> 
> Actually... presence of  rather depends on the libc, not the kernel?
> 
> So __GLIBC__ is perhaps more relevant than __FreeBSD_kernel__ in this
> case - plus it should work for other GNU/k*BSD variants if/when they exist.

Well, that's still suboptimal, the ideal solution in this kind of
cases is to test for the feature at build time, which avoids all this
ifdef whitelists, and subsequent updates.

> While here, I think I can explain the build failure on GNU/Hurd.  The
> test for __MACH__ applies to both Apple systems and GNU systems.  I
> suggest using mach/mach_time.h only for __APPLE__, and then adding
> __GNU__ to the list for time.h

For Mac OS X I'd test for __APPLE__ && __MACH__, otherwise that could
trigger on other non Mach-based Apple systems.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130110233139.ga27...@gaara.hadrons.org



Processed: Re: Bug#651624: Booting from zfs root seems to not work 8.3 and 10.0 however work

2013-01-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 651624 + upstream
Bug #651624 [kfreebsd-image-9-amd64] sometimes device nodes disappear after a 
reboot, making
Added tag(s) upstream.
> forwarded 651624 http://www.freebsd.org/cgi/query-pr.cgi?pr=175179
Bug #651624 [kfreebsd-image-9-amd64] sometimes device nodes disappear after a 
reboot, making
Set Bug forwarded-to-address to 
'http://www.freebsd.org/cgi/query-pr.cgi?pr=175179'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
651624: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651624
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.135782408222571.transcr...@bugs.debian.org