Coder Social home page Coder Social logo

derpscript's People

Contributors

rooooooooob avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pypypystudy

derpscript's Issues

Build errors on OS X

Hey!

I am trying to build this project at the moment, because I really like how it looks like. But when I tried, I got a good amount of errors. My platform is OS X 10.9. The following part is the output of the build process:


clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/BoundFloat.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/BoundFloat.o src/BoundFloat.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/BoundString.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/BoundString.o src/BoundString.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/Context.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/Context.o src/Context.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/DSFunction.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/DSFunction.o src/DSFunction.cpp
In file included from src/DSFunction.cpp:4:
src/StackPush.hpp:23:46: warning: control reaches end of non-void function [-Wreturn-type]
        StackPush& operator=(const StackPush& rhs) {}   //      disable
                                                    ^
1 warning generated.
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/DSProcedure.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/DSProcedure.o src/DSProcedure.cpp
In file included from src/DSProcedure.cpp:4:
src/StackPush.hpp:23:46: warning: control reaches end of non-void function [-Wreturn-type]
        StackPush& operator=(const StackPush& rhs) {}   //      disable
                                                    ^
1 warning generated.
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/ExpressionParser.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/ExpressionParser.o src/ExpressionParser.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -M -MG src/FileParser.cpp
clang++  -Isrc -Isrc/Expressions -Isrc/Statements -Isrc/lib -std=c++11 -c -o src/FileParser.o src/FileParser.cpp
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSProcedure'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, 2>::__libcpp_compressed_pair_imp<ds::DSProcedure &&, , 0, >' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:992:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSProcedure, std::__1::allocator<ds::DSProcedure> >::__compressed_pair<ds::DSProcedure &&, >' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, void (ds::Context &, const ds::ParameterList &)>::__func' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/FileParser.cpp:127:54: note: in instantiation of function template specialization 'std::__1::function<void (ds::Context &, const ds::ParameterList &)>::function<ds::DSProcedure>' requested here
                                                context.registerProcedure(scope, name, params, dsproc);
                                                                                               ^
src/DSProcedure.hpp:23:2: note: candidate constructor not viable: expects an l-value for 1st argument
        DSProcedure(DSProcedure& other);
        ^
src/DSProcedure.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSProcedure(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSProcedure'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, 2>::__libcpp_compressed_pair_imp<ds::DSProcedure &&, std::__1::allocator<ds::DSProcedure> &&, 0, 0>' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1006:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSProcedure, std::__1::allocator<ds::DSProcedure> >::__compressed_pair<ds::DSProcedure &&, std::__1::allocator<ds::DSProcedure> &&>' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1285:34: note: in instantiation of member function 'std::__1::__function::__func<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, void (ds::Context &, const ds::ParameterList &)>::__func' requested here
            ::new (__hold.get()) _FF(_VSTD::move(__f), allocator<_Fp>(__a));
                                 ^
src/FileParser.cpp:127:54: note: in instantiation of function template specialization 'std::__1::function<void (ds::Context &, const ds::ParameterList &)>::function<ds::DSProcedure>' requested here
                                                context.registerProcedure(scope, name, params, dsproc);
                                                                                               ^
src/DSProcedure.hpp:23:2: note: candidate constructor not viable: expects an l-value for 1st argument
        DSProcedure(DSProcedure& other);
        ^
src/DSProcedure.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSProcedure(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSProcedure'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, 2>::__libcpp_compressed_pair_imp<const ds::DSProcedure &, std::__1::allocator<ds::DSProcedure> &&, 0, 0>' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1001:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSProcedure, std::__1::allocator<ds::DSProcedure> >::__compressed_pair<const ds::DSProcedure &, std::__1::allocator<ds::DSProcedure> &&>' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1027:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, void (ds::Context &, const ds::ParameterList &)>::__func' requested here
    ::new (__hold.get()) __func(__f_.first(), _Alloc(__a));
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, void (ds::Context &, const ds::ParameterList &)>::__clone' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/FileParser.cpp:127:54: note: in instantiation of function template specialization 'std::__1::function<void (ds::Context &, const ds::ParameterList &)>::function<ds::DSProcedure>' requested here
                                                context.registerProcedure(scope, name, params, dsproc);
                                                                                               ^
src/DSProcedure.hpp:23:2: note: candidate constructor not viable: 1st argument ('const ds::DSProcedure') would lose const qualifier
        DSProcedure(DSProcedure& other);
        ^
src/DSProcedure.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSProcedure(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSProcedure'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, 2>::__libcpp_compressed_pair_imp<const ds::DSProcedure &, const std::__1::allocator<ds::DSProcedure> &, 0, 0>' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:996:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSProcedure, std::__1::allocator<ds::DSProcedure> >::__compressed_pair<const ds::DSProcedure &, const std::__1::allocator<ds::DSProcedure> &>' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1035:17: note: in instantiation of member function 'std::__1::__function::__func<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, void (ds::Context &, const ds::ParameterList &)>::__func' requested here
    ::new (__p) __func(__f_.first(), __f_.second());
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSProcedure, std::__1::allocator<ds::DSProcedure>, void (ds::Context &, const ds::ParameterList &)>::__clone' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/FileParser.cpp:127:54: note: in instantiation of function template specialization 'std::__1::function<void (ds::Context &, const ds::ParameterList &)>::function<ds::DSProcedure>' requested here
                                                context.registerProcedure(scope, name, params, dsproc);
                                                                                               ^
src/DSProcedure.hpp:23:2: note: candidate constructor not viable: 1st argument ('const ds::DSProcedure') would lose const qualifier
        DSProcedure(DSProcedure& other);
        ^
src/DSProcedure.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSProcedure(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSFunction'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSFunction, std::__1::allocator<ds::DSFunction>, 2>::__libcpp_compressed_pair_imp<ds::DSFunction &&, , 0, >' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:992:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSFunction, std::__1::allocator<ds::DSFunction> >::__compressed_pair<ds::DSFunction &&, >' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSFunction, std::__1::allocator<ds::DSFunction>, float (ds::Context &, const ds::ParameterList &)>::__func' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/FileParser.cpp:132:53: note: in instantiation of function template specialization 'std::__1::function<float (ds::Context &, const ds::ParameterList &)>::function<ds::DSFunction>' requested here
                                                context.registerFunction(scope, name, params, dsfunc);
                                                                                              ^
src/DSFunction.hpp:23:2: note: candidate constructor not viable: expects an l-value for 1st argument
        DSFunction(DSFunction& other);
        ^
src/DSFunction.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSFunction(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSFunction'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSFunction, std::__1::allocator<ds::DSFunction>, 2>::__libcpp_compressed_pair_imp<ds::DSFunction &&, std::__1::allocator<ds::DSFunction> &&, 0, 0>' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1006:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSFunction, std::__1::allocator<ds::DSFunction> >::__compressed_pair<ds::DSFunction &&, std::__1::allocator<ds::DSFunction> &&>' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1285:34: note: in instantiation of member function 'std::__1::__function::__func<ds::DSFunction, std::__1::allocator<ds::DSFunction>, float (ds::Context &, const ds::ParameterList &)>::__func' requested here
            ::new (__hold.get()) _FF(_VSTD::move(__f), allocator<_Fp>(__a));
                                 ^
src/FileParser.cpp:132:53: note: in instantiation of function template specialization 'std::__1::function<float (ds::Context &, const ds::ParameterList &)>::function<ds::DSFunction>' requested here
                                                context.registerFunction(scope, name, params, dsfunc);
                                                                                              ^
src/DSFunction.hpp:23:2: note: candidate constructor not viable: expects an l-value for 1st argument
        DSFunction(DSFunction& other);
        ^
src/DSFunction.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSFunction(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSFunction'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSFunction, std::__1::allocator<ds::DSFunction>, 2>::__libcpp_compressed_pair_imp<const ds::DSFunction &, std::__1::allocator<ds::DSFunction> &&, 0, 0>' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1001:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSFunction, std::__1::allocator<ds::DSFunction> >::__compressed_pair<const ds::DSFunction &, std::__1::allocator<ds::DSFunction> &&>' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1027:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSFunction, std::__1::allocator<ds::DSFunction>, float (ds::Context &, const ds::ParameterList &)>::__func' requested here
    ::new (__hold.get()) __func(__f_.first(), _Alloc(__a));
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSFunction, std::__1::allocator<ds::DSFunction>, float (ds::Context &, const ds::ParameterList &)>::__clone' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/FileParser.cpp:132:53: note: in instantiation of function template specialization 'std::__1::function<float (ds::Context &, const ds::ParameterList &)>::function<ds::DSFunction>' requested here
                                                context.registerFunction(scope, name, params, dsfunc);
                                                                                              ^
src/DSFunction.hpp:23:2: note: candidate constructor not viable: 1st argument ('const ds::DSFunction') would lose const qualifier
        DSFunction(DSFunction& other);
        ^
src/DSFunction.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSFunction(const std::vector<std::string>& parameterNames,
        ^
In file included from src/FileParser.cpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iostream:38:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/ios:216:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/__locale:15:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/string:434:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2243:15: error: no matching constructor for initialization of 'ds::DSFunction'
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization 'std::__1::__libcpp_compressed_pair_imp<ds::DSFunction, std::__1::allocator<ds::DSFunction>, 2>::__libcpp_compressed_pair_imp<const ds::DSFunction &, const std::__1::allocator<ds::DSFunction> &, 0, 0>' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:996:11: note: in instantiation of function template specialization 'std::__1::__compressed_pair<ds::DSFunction, std::__1::allocator<ds::DSFunction> >::__compressed_pair<const ds::DSFunction &, const std::__1::allocator<ds::DSFunction> &>' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(__f),
          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1035:17: note: in instantiation of member function 'std::__1::__function::__func<ds::DSFunction, std::__1::allocator<ds::DSFunction>, float (ds::Context &, const ds::ParameterList &)>::__func' requested here
    ::new (__p) __func(__f_.first(), __f_.second());
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function 'std::__1::__function::__func<ds::DSFunction, std::__1::allocator<ds::DSFunction>, float (ds::Context &, const ds::ParameterList &)>::__clone' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
src/FileParser.cpp:132:53: note: in instantiation of function template specialization 'std::__1::function<float (ds::Context &, const ds::ParameterList &)>::function<ds::DSFunction>' requested here
                                                context.registerFunction(scope, name, params, dsfunc);
                                                                                              ^
src/DSFunction.hpp:23:2: note: candidate constructor not viable: 1st argument ('const ds::DSFunction') would lose const qualifier
        DSFunction(DSFunction& other);
        ^
src/DSFunction.hpp:18:2: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
        DSFunction(const std::vector<std::string>& parameterNames,
        ^
8 errors generated.
Command exited with errorcode 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.