Boost logo

Boost Users :

From: doktora (doktora_at_[hidden])
Date: 2005-02-13 19:23:40

Christopher Coleman <cqc <at>> writes:

> On Wed, Jan 05, 2005 at 09:45:25AM -0700, Bart wrote:
> > > /opt/sfw/gcc-3.2/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
> > > -c -o zz_broker.o `test -f zz_broker.cpp || echo './'`zz_broker.cpp
> >
> > I think you want `/opt/sfw/gcc-3.2/bin/g++`.
> Hi,
> Yeah - I noticed that after my 1st post. I was originally using:
> CXX=/opt/sfw/gcc-3.2/bin/g++ ./configure && make
> And tried gcc as a kind of desparate blind hope, but to no avail...
> Sorry I should have added that to my previous post.
> Cheers
> Chris
> This message has been scanned but we cannot guarantee that it and any
> attachments are free from viruses or other damaging content: you are
> advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.

I have the same problem on Mac OS X powerpc G4, trying to use boost_1_32_0.
Did you come up with a solution?

I've ungoogled some related info about NO_IMPLICIT_EXTERN_C flag, but have not
been able to resolve the issue.
I'm completely baffled after two days of doing nothing but uncuccessfully trying
to resolve this! Please help!

(I will try this on suse 9.1 later today.)

This compiles:

#include <utility>
int main(){return 0;}

and this does not:

#include <boost/utility.hpp>
int main(){return 0;}

Both are compiled with:
/usr/bin/g++-3.3 main.cpp

There are over 1000 errors, most of them in this fashion:

In file included from /usr/include/gcc/darwin/3.3/c++/utility:66,
                from /usr/include/boost/config/select_stdlib_config.hpp:20,
                from /usr/include/boost/config.hpp:40,
                from /usr/include/boost/utility/addressof.hpp:14,
                from /usr/include/boost/utility.hpp:12,
                from main.cpp:3:
/usr/include/gcc/darwin/3.3/c++/bits/stl_relops.h:91: error: template with C
/usr/include/gcc/darwin/3.3/c++/bits/stl_relops.h:104: error: template with C
/usr/include/gcc/darwin/3.3/c++/bits/stl_relops.h:117: error: template with C
/usr/include/gcc/darwin/3.3/c++/bits/stl_relops.h:130: error: template with C

More info:

/usr/bin/g++-3.3 --version
g++-3.3 (GCC) 3.3 20030304 (Apple Computer, Inc. build 1666)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

uname -a
Darwin Computer.local 7.7.0 Darwin Kernel Version 7.7.0: Sun Nov 7 16:06:51 PST
2004; root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC Power Macintosh powerpc


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at