Demo entry 6633511

whatever.txt

   

Submitted by Justasic on Aug 02, 2017 at 11:37
Language: C. Code size: 4.4 kB.

┌─(justasic@The-Fucking-Princess) [~/github/cpp-bot/build] [master*] [6be10d2] [modified]
╰─🍔 ninja
[30/38] Building CXX object lib/redisclient/CMakeFiles/redisclient.dir/src/redisclient/impl/redissyncclient.cpp.o
In file included from ../lib/redisclient/src/redisclient/impl/redissyncclient.cpp:12:
In file included from ../lib/redisclient/src/redisclient/impl/../redissyncclient.h:16:
In file included from ../lib/redisclient/src/redisclient/impl/redisclientimpl.h:152:
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:66:31: warning: unused variable 'pattern' [-Wunused-variable]
            const RedisValue &pattern   = (resultSize == 4) ? result[1] : "";
                              ^
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:277:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
            doProcessMessage(std::move(redisParser.result()));
                             ^
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:277:30: note: remove std::move call here
            doProcessMessage(std::move(redisParser.result()));
                             ^~~~~~~~~~                    ~
2 warnings generated.
[31/38] Building CXX object lib/redisclient/CMakeFiles/redisclient.dir/src/redisclient/impl/redisclientimpl.cpp.o
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:66:31: warning: unused variable 'pattern' [-Wunused-variable]
            const RedisValue &pattern   = (resultSize == 4) ? result[1] : "";
                              ^
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:277:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
            doProcessMessage(std::move(redisParser.result()));
                             ^
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:277:30: note: remove std::move call here
            doProcessMessage(std::move(redisParser.result()));
                             ^~~~~~~~~~                    ~
2 warnings generated.
[32/38] Building CXX object lib/redisclient/CMakeFiles/redisclient.dir/src/redisclient/impl/redisasyncclient.cpp.o
In file included from ../lib/redisclient/src/redisclient/impl/redisasyncclient.cpp:12:
In file included from ../lib/redisclient/src/redisclient/impl/../redisasyncclient.h:17:
In file included from ../lib/redisclient/src/redisclient/impl/redisclientimpl.h:152:
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:66:31: warning: unused variable 'pattern' [-Wunused-variable]
            const RedisValue &pattern   = (resultSize == 4) ? result[1] : "";
                              ^
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:277:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
            doProcessMessage(std::move(redisParser.result()));
                             ^
../lib/redisclient/src/redisclient/impl/redisclientimpl.cpp:277:30: note: remove std::move call here
            doProcessMessage(std::move(redisParser.result()));
                             ^~~~~~~~~~                    ~
../lib/redisclient/src/redisclient/impl/../impl/redisasyncclient.cpp:99:21: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
                    std::move(pimpl->makeCommand(args)), std::move(handler)));
                    ^
../lib/redisclient/src/redisclient/impl/../impl/redisasyncclient.cpp:99:21: note: remove std::move call here
                    std::move(pimpl->makeCommand(args)), std::move(handler)));
                    ^~~~~~~~~~                        ~
3 warnings generated.
[37/38] Building CXX object CMakeFiles/KittehBot++.dir/main.cc.o
FAILED: CMakeFiles/KittehBot++.dir/main.cc.o
/usr/bin/clang++   -I../lib/discordpp -I../lib/rest-curlpp -I../lib/websocket-websocketpp -I../lib/redisclient/src -I. -I../include -I../lib/discordpp/lib/nlohmannjson -I../lib/docopt -std=gnu++14 -MD -MT CMakeFiles/KittehBot++.dir/main.cc.o -MF CMakeFiles/KittehBot++.dir/main.cc.o.d -o CMakeFiles/KittehBot++.dir/main.cc.o -c ../main.cc
In file included from ../main.cc:16:
../lib/rest-curlpp/discordpp/rest-curlpp.hh:10:10: fatal error: 'curlpp/cURLpp.hpp' file not found
#include <curlpp/cURLpp.hpp>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).