GitHub user lifepillar opened a pull request:

    https://github.com/apache/incubator-madlib/pull/76

    Include boost::format in MathToolkit_impl.hpp.

    Without this include, compilation fails on macOS Sierra with the following
    error:
    
    In file included from 
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/BoostIntegration.hpp:25:
    
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/MathToolkit_impl.hpp:56:22:
 error: no member named 'io' in
          namespace 'boost'
                % boost::io::group(std::setprecision(prec), inVal)
                  ~~~~~~~^
    
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/MathToolkit_impl.hpp:55:31:
 error: no member named 'format' in
          namespace 'boost'
        std::string msg = (boost::format(inMessage)
                           ~~~~~~~^
    2 errors generated.
    make[2]: *** 
[src/ports/postgres/9.6/CMakeFiles/madlib_postgresql_9_6.dir/__/__/__/modules/assoc_rules/assoc_rules.cpp.o]
 Error 1
    make[1]: *** 
[src/ports/postgres/9.6/CMakeFiles/madlib_postgresql_9_6.dir/all] Error 2
    make: *** [all] Error 2

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lifepillar/incubator-madlib boost-format

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-madlib/pull/76.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #76
    
----
commit fd2f3b15930a2144acd6f9b184b91fb71dad2568
Author: Lifepillar <[email protected]>
Date:   2016-11-24T20:15:39Z

    Include boost::format in MathToolkit_impl.hpp.
    
    Without this include, compilation fails on macOS Sierra with the following
    error:
    
    In file included from 
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/BoostIntegration.hpp:25:
    
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/MathToolkit_impl.hpp:56:22:
 error: no member named 'io' in
          namespace 'boost'
                % boost::io::group(std::setprecision(prec), inVal)
                  ~~~~~~~^
    
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/MathToolkit_impl.hpp:55:31:
 error: no member named 'format' in
          namespace 'boost'
        std::string msg = (boost::format(inMessage)
                           ~~~~~~~^
    2 errors generated.
    make[2]: *** 
[src/ports/postgres/9.6/CMakeFiles/madlib_postgresql_9_6.dir/__/__/__/modules/assoc_rules/assoc_rules.cpp.o]
 Error 1
    make[1]: *** 
[src/ports/postgres/9.6/CMakeFiles/madlib_postgresql_9_6.dir/all] Error 2
    make: *** [all] Error 2

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to