Subject: boost
To: None <netbsd-help@netbsd.org>
From: Florian =?iso-8859-1?Q?St=F6hr?= <florian.stoehr@login-solutions.de>
List: netbsd-help
Date: 11/13/2001 10:25:52
This is a multi-part message in MIME format.
--------------72C3EDF1ECF7E616A71E2A35
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Including a new version of boost gives lots of compiler errors, telling
me that
templates aren't good with C-linkage (although I used g++, not gcc).

Including the version that comes as a PKG from NetBSD,
gives the following errors (xwpe-IDE message window):

g++ -c -g -I/usr/pkg/include reg_test.cpp -o ./reg_test.o
In file included from
/usr/pkg/include/boost/re_detail/regex_config.hpp:50,
                 from /usr/pkg/include/boost/cregex.hpp:27,
                 from /usr/pkg/include/boost/regex.h:26,
                 from reg_test.cpp:3:
/usr/pkg/include/boost/smart_ptr.hpp:143: syntax error before `<'
/usr/pkg/include/boost/smart_ptr.hpp:145: warning: ANSI C++ forbids
declaration `px' with no type
/usr/pkg/include/boost/smart_ptr.hpp:145: warning: ANSI C++ forbids
initialization of member `px'
/usr/pkg/include/boost/smart_ptr.hpp:145: warning: making `px' static
/usr/pkg/include/boost/smart_ptr.hpp:145: ANSI C++ forbids in-class
initialization of non-const static member `px'
/usr/pkg/include/boost/smart_ptr.hpp:148: syntax error before `template'

/usr/pkg/include/boost/smart_ptr.hpp:122: warning: ANSI C++ forbids
declaration `px' with no type
/usr/pkg/include/boost/smart_ptr.hpp:122: template declaration of `int
px'
/usr/pkg/include/boost/smart_ptr.hpp:122: syntax error before `{'

well, I'm not very familiar with UNIX-compiling yet, but I assume
I forgot a compiler flag
or something like that.

Can anybody help?

Thx
Flo

--------------72C3EDF1ECF7E616A71E2A35
Content-Type: text/x-vcard; charset=us-ascii;
 name="florian.stoehr.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Florian Stöhr
Content-Disposition: attachment;
 filename="florian.stoehr.vcf"

begin:vcard 
n:Stöhr;Florian
tel;cell:+49-160-4703-189
tel;work:+49-821-2448-201
x-mozilla-html:FALSE
org:LogIn & Solutions AG;Software Development
adr:;;Finkenweg 11	;Gersthofen;;86368;
version:2.1
email;internet:florian.stoehr@login-solutions.de
title:Entwicklungsleiter
x-mozilla-cpt:;0
fn:Florian Stöhr
end:vcard

--------------72C3EDF1ECF7E616A71E2A35--