Boost logo

Boost Users :

Subject: Re: [Boost-users] boost graph library with gcc 4.2 and later (Andrew Sutton)
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2008-10-29 08:47:33


Hi !

An'n Mittwoch 29 Oktober 2008 hett Andrew Sutton schreven:

> Not really :) Part of the problem may be with using GCC-4.3. I don't
> believe that its fully supported by Boost.Config. As you can see 4.3 starts
> deprecating the old hash_* headers, and the BGL uses these in a number of
> places - or pulls them through some other header. It's a non-trivial job to
> fix this. Any chance you'd be interested in downgrading your compiler :)
> 4.2.x seems to works nicely.

Simply #define BOOST_NO_HASH.
This will disable hash_* support of the BGL and thus silence the warnings.
I've done this here.
 
> You should file a ticket over at svn.boost.org with exactly this
> information, and I'll try to take a look at it sometime this week.

That would be nice if Boost.Config could detect this.
Unfortunately, the new headers are only available with --std=cxx0x and this
opens a new can of worms...

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net