Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile the SGB examples. #87

Merged
merged 1 commit into from
May 27, 2017
Merged

Compile the SGB examples. #87

merged 1 commit into from
May 27, 2017

Commits on Mar 19, 2017

  1. Compile the SGB examples.

    System: (K)Ubuntu 16.04 LTS
    Compiler: g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
    
    Try to 'g++ -c' the four SGB examples girth.cpp, miles_span.cpp,
    roget_components.cpp, and topo-sort-with-sgb.cpp.
    
    (1) SGB 2002-01-30 changed the 'Associated Press scores' from 'ap0' and
    'ap1' to 'ap'. This preprocessor macro (sic!) collides with numerous
    function parameters in 'named_function_params.hpp'. '#undef'ining the
    macro doesn't break the BGL examples.
    
    (2) girth.cpp fails because of a missing 'null_vertex()' function.
    
    (3) roget_components.cpp invokes 'strncmp()' from the C library.
    
    (4) topo-sort-with-sgb.cpp hickups because of a missing 'vertices()'
    function. Following roget_components.cpp and putting the collective
    SGB header up front fixes this.
    ascherer committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    465b2aa View commit details
    Browse the repository at this point in the history