~singpolyma/biboumi

b29225601a475efe7f28fe7002eba72e70f3272b — louiz’ 8 years ago e5b392e
Fix some compilation warning/errors that appear on FreeBSD
4 files changed, 5 insertions(+), 2 deletions(-)

M louloulibs/network/resolver.cpp
M src/bridge/bridge.hpp
M src/irc/iid.cpp
M src/irc/iid.hpp
M louloulibs/network/resolver.cpp => louloulibs/network/resolver.cpp +1 -0
@@ 2,6 2,7 @@
#include <network/resolver.hpp>
#include <string.h>
#include <arpa/inet.h>
#include <cstdlib>

using namespace std::string_literals;


M src/bridge/bridge.hpp => src/bridge/bridge.hpp +1 -1
@@ 19,7 19,7 @@

class BiboumiComponent;
class Poller;
class ResultSetInfo;
struct ResultSetInfo;

/**
 * A callback called for each IrcMessage we receive. If the message triggers

M src/irc/iid.cpp => src/irc/iid.cpp +2 -0
@@ 5,6 5,8 @@

#include <utils/encoding.hpp>

constexpr char Iid::separator[];

Iid::Iid(const std::string& local, const std::string& server, Iid::Type type):
        type(type),
        local(local),

M src/irc/iid.hpp => src/irc/iid.hpp +1 -1
@@ 54,7 54,7 @@ public:
      User,
      Server,
  };
  static constexpr auto separator = "%";
  static constexpr char separator[]{"%"};
  Iid(const std::string& iid, const std::set<char>& chantypes);
  Iid(const std::string& iid, const std::initializer_list<char>& chantypes);
  Iid(const std::string& iid, const Bridge* bridge);