|
Boost : |
From: Domenico Andreoli (cavok_at_[hidden])
Date: 2005-07-31 16:04:04
On Fri, Jul 29, 2005 at 03:47:10PM -0500, Doug Gregor wrote:
> The RC_1_33_0 branch is partially thawed so that we can fix the
> remaining failures for release. I've started the regression
> notifications again, this time on the release branch: when no more
> failures show up, we release.
hi Doug,
i think you may be interested in two trivial bugs i received against the
Boost debian packages.
bug #308291 [0] fixes a couple of "unused variable" warnings:
diff -u /tmp/interface_oarchive.hpp /usr/include/boost/archive/detail/interface_oarchive.hpp
--- /tmp/interface_oarchive.hpp 2005-05-09 09:54:24.897652747 +0200
+++ /usr/include/boost/archive/detail/interface_oarchive.hpp 2005-05-09 09:54:56.611522300 +0200
@@ -57,7 +57,7 @@
}
template<class T>
- const basic_pointer_oserializer * register_type(T * t = NULL){
+ const basic_pointer_oserializer * register_type(T * = NULL){
const basic_pointer_oserializer & bpos =
instantiate_pointer_oserializer(
static_cast<Archive *>(NULL),
diff -u /tmp/interface_iarchive.hpp /usr/include/boost/archive/detail/interface_iarchive.hpp
--- /tmp/interface_iarchive.hpp 2005-05-09 09:58:24.366913089 +0200
+++ /usr/include/boost/archive/detail/interface_iarchive.hpp 2005-05-09 09:58:31.519755952 +0200
@@ -53,7 +53,7 @@
}
template<class T>
- const basic_pointer_iserializer * register_type(T * t = NULL){
+ const basic_pointer_iserializer * register_type(T * = NULL){
const basic_pointer_iserializer & bpis =
archive::detail::instantiate_pointer_iserializer(
static_cast<Archive *>(NULL),
bug #320677 [1] adds GNU/kFreeBSD to the list of OSes known to Jam:
--- boost-1.32.0+1.33.0-cvs20050727.orig/tools/build/v1/allyourbase.jam
+++ boost-1.32.0+1.33.0-cvs20050727/tools/build/v1/allyourbase.jam
@@ -344,6 +344,9 @@
case IRIX :
RANLIB ?= "" ;
+
+ case KFREEBSD :
+ CLONE ?= cp -fpd ;
case LINUX :
CLONE ?= cp -fpd ;
--- boost-1.32.0+1.33.0-cvs20050727.orig/tools/build/v1/gcc-tools.jam
+++ boost-1.32.0+1.33.0-cvs20050727/tools/build/v1/gcc-tools.jam
@@ -416,7 +416,7 @@
LNOPT on $(<) = "" ;
}
# do we use sonames or not?
- if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN)
+ if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD || $(OS) = KFREEBSD ) && ! $(NO_GNU_LN)
{
OUTTAG on $(<) = ".$(DLLVERSION)" ;
SOTAG on $(<) = ".$(DLLVERSION)" ;
@@ -462,7 +462,7 @@
gcc-spawn $(<) ;
gcc-Link-action $(<) : $(>) ;
- if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN)
+ if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD || $(OS) = KFREEBSD ) && ! $(NO_GNU_LN)
{
return "$(<[1]).$(DLLVERSION)" ;
}
--- boost-1.32.0+1.33.0-cvs20050727.orig/tools/build/v2/tools/rc.jam
+++ boost-1.32.0+1.33.0-cvs20050727/tools/build/v2/tools/rc.jam
@@ -28,6 +28,8 @@
create-empty-object $(target) : $(sources[1]) ;
case "SOLARIS" :
create-empty-object $(target) : $(sources[1]) ;
+ case "KFREEBSD" :
+ create-empty-object $(target) : $(sources[1]) ;
case "LINUX" :
create-empty-object $(target) : $(sources[1]) ;
case "*" :
--- boost-1.32.0+1.33.0-cvs20050727.orig/tools/build/jam_src/jam.h
+++ boost-1.32.0+1.33.0-cvs20050727/tools/build/jam_src/jam.h
@@ -385,6 +385,10 @@
# define OS_OPENBSD
# define unix
# endif
+# if defined (__FreeBSD_kernel__) && !defined(__FreeBSD__)
+# define OSMINOR "OS=KFREEBSD"
+# define OS_KFREEBSD
+# endif
# ifndef OSMINOR
# define OSMINOR "OS=UNKNOWN"
# endif
--- boost-1.32.0+1.33.0-cvs20050727.orig/tools/build/jam_src/README
+++ boost-1.32.0+1.33.0-cvs20050727/tools/build/jam_src/README
@@ -87,6 +87,7 @@
SunOS4.1 SUNOS
Ultrix 4.2 ULTRIX
BeOS BEOS *
+ GNU/kFreeBSD KFREEBSD
* requires editing Makefile
please consider to fix them in 1.33.0 release. thank you.
cheers
domenico
[0] http://bugs.debian.org/#308291
[1] http://bugs.debian.org/#320677
-----[ Domenico Andreoli, aka cavok
--[ http://people.debian.org/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk