Groups
Groups
Sign in
Groups
Groups
gtkqq-dev
Conversations
About
Send feedback
Help
libwebqq 編譯失敗
77 views
Skip to first unread message
Mike Manilone
unread,
Jul 24, 2012, 9:14:31 PM
7/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gtkq...@googlegroups.com
QQPlugin.cpp: In member function 'bool QQPlugin::send_buddy_message(const std::string&, const std::string&)':
QQPlugin.cpp:891: error: conversion from 'int64_t' to 'const Json::Value' is ambiguous
../jsoncpp/include/json/value.h:239: note: candidates are: Json::Value::Value(bool)
../jsoncpp/include/json/value.h:222: note: Json::Value::Value(const char*) <near match>
../jsoncpp/include/json/value.h:221: note: Json::Value::Value(double)
../jsoncpp/include/json/value.h:219: note: Json::Value::Value(Json::UInt64)
../jsoncpp/include/json/value.h:218: note: Json::Value::Value(Json::Int64)
../jsoncpp/include/json/value.h:216: note: Json::Value::Value(Json::UInt)
../jsoncpp/include/json/value.h:215: note: Json::Value::Value(Json::Int)
../jsoncpp/include/json/value.h:214: note: Json::Value::Value(Json::ValueType) <near match>
QQPlugin.cpp:902: error: conversion from 'int64_t' to 'const Json::Value' is ambiguous
../jsoncpp/include/json/value.h:239: note: candidates are: Json::Value::Value(bool)
../jsoncpp/include/json/value.h:222: note: Json::Value::Value(const char*) <near match>
../jsoncpp/include/json/value.h:221: note: Json::Value::Value(double)
../jsoncpp/include/json/value.h:219: note: Json::Value::Value(Json::UInt64)
../jsoncpp/include/json/value.h:218: note: Json::Value::Value(Json::Int64)
../jsoncpp/include/json/value.h:216: note: Json::Value::Value(Json::UInt)
../jsoncpp/include/json/value.h:215: note: Json::Value::Value(Json::Int)
../jsoncpp/include/json/value.h:214: note: Json::Value::Value(Json::ValueType) <near match>
QQPlugin.cpp: In member function 'bool QQPlugin::send_group_message(const std::string&, const std::string&)':
QQPlugin.cpp:997: error: conversion from 'int64_t' to 'const Json::Value' is ambiguous
../jsoncpp/include/json/value.h:239: note: candidates are: Json::Value::Value(bool)
../jsoncpp/include/json/value.h:222: note: Json::Value::Value(const char*) <near match>
../jsoncpp/include/json/value.h:221: note: Json::Value::Value(double)
../jsoncpp/include/json/value.h:219: note: Json::Value::Value(Json::UInt64)
../jsoncpp/include/json/value.h:218: note: Json::Value::Value(Json::Int64)
../jsoncpp/include/json/value.h:216: note: Json::Value::Value(Json::UInt)
../jsoncpp/include/json/value.h:215: note: Json::Value::Value(Json::Int)
../jsoncpp/include/json/value.h:214: note: Json::Value::Value(Json::ValueType) <near match>
*** Error code 1
Stop in /home/mike/Projects/Clone/libwebqq/src.
*** Error code 1
Stop in /home/mike/Projects/Clone/libwebqq.
*** Error code 1
Stop in /home/mike/Projects/Clone/libwebqq.
devil 解決一下吧
Mike Manilone
unread,
Jul 24, 2012, 9:16:15 PM
7/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gtkq...@googlegroups.com
順便說一下我用的是 FreeBSD 9.0-RELEASE。以前在 Fedora 下也沒有編譯通過。
Xiang Wang
unread,
Jul 25, 2012, 7:11:30 AM
7/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gtkq...@googlegroups.com
就是一个64位的int,为毛bsd不认int64_t
2012/7/25 Mike Manilone
<
crt...@gmail.com
>
順便說一下我用的是 FreeBSD 9.0-RELEASE。以前在 Fedora 下也沒有編譯通過。
--
Best Regards~
Xiang Wang
CDC, TrendMicro
Xiang Wang
unread,
Jul 25, 2012, 7:15:29 AM
7/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gtkq...@googlegroups.com
我加了个static cast ,你看看可以不可以。
2012/7/25 Xiang Wang
<
wxje...@gmail.com
>
山东
unread,
Jul 25, 2012, 11:57:26 AM
7/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gtkq...@googlegroups.com
我猜测是因为FreeBSD 自带的gcc 的版本兼容问题? 自带的版本是 gcc 4.2.1
Reply all
Reply to author
Forward
0 new messages