Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 2000-10-03 12:33:36


Hi Andreas,

Would you recommend that we add a #ifdef and an include of gb_graph.h
for the case when the installation of SGI has the PROTOTYPES patches
installed?

#if defined(STANFORD_GRAPH_BASE_HAS_PROTOTYPES_PATCH)
#include <gb_graph.h>
#else
...
#endif

Andreas Scherer writes:
> In the wrapper headerfile <stanford_graph.hpp> it is remarked that
> SGB's <gb_graph.h> headerfile can not be used as an appropriate
> interface for a C++ compiler.
>
> I just wanted bring to the attention of this group and the BGL authors
> that SGB is shipped with a set of "change files" in subdirectory
> PROTOTYPES that might help in this situation. These "change files"
> introduce ANSI-C prototypes for all functions in the SGB library.
>
> Unfortunately, it is not justified to assume that any particular
> installation of the SGB has the PROTOTYPES patches applied, so as long
> as SGB is not significantly updated per se, the repetition of the SGB
> stuff in <stanford_graph.hpp> is the appropriate solution.
>
> Regards
>
> --
> Andreas Scherer
>
>
>
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk