Skip to content

Instantly share code, notes, and snippets.

@theuni
Created April 1, 2011 20:18
Show Gist options
  • Save theuni/898779 to your computer and use it in GitHub Desktop.
Save theuni/898779 to your computer and use it in GitHub Desktop.
CPP AudioLibrary.o
In file included from JSONRPC.h:31,
from AudioLibrary.h:24,
from AudioLibrary.cpp:22:
JSONUtils.h: In static member function ‘static int JSONRPC::CJSONUtils::Compare(const Json::Value&, const Json::Value&)’:
JSONUtils.h:505: error: conversion from ‘long int’ to ‘const Json::Value’ is ambiguous
/scratch/xbmc/lib/jsoncpp/include/json/value.h:237: note: candidates are: Json::Value::Value(bool)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:220: note: Json::Value::Value(const char*)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:219: note: Json::Value::Value(double)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:217: note: Json::Value::Value(Json::UInt64)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:216: note: Json::Value::Value(Json::Int64)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:214: note: Json::Value::Value(Json::UInt)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:213: note: Json::Value::Value(Json::Int)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:212: note: Json::Value::Value(Json::ValueType) <near match>
JSONUtils.h:522: error: conversion from ‘long int’ to ‘const Json::Value’ is ambiguous
/scratch/xbmc/lib/jsoncpp/include/json/value.h:237: note: candidates are: Json::Value::Value(bool)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:220: note: Json::Value::Value(const char*)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:219: note: Json::Value::Value(double)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:217: note: Json::Value::Value(Json::UInt64)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:216: note: Json::Value::Value(Json::Int64)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:214: note: Json::Value::Value(Json::UInt)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:213: note: Json::Value::Value(Json::Int)
/scratch/xbmc/lib/jsoncpp/include/json/value.h:212: note: Json::Value::Value(Json::ValueType) <near match>
make: *** [AudioLibrary.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment