Issue 37 in onering-desktop: make报错

0 views
Skip to first unread message

onering...@googlecode.com

unread,
Dec 28, 2010, 6:37:07 PM12/28/10
to oneri...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 37 by stephen.zhuang: make报错
http://code.google.com/p/onering-desktop/issues/detail?id=37

What steps will reproduce the problem?
clone一份新代码进行编译,make时报错

What is the expected output?
编译成功

What do you see instead?
g++ -c -pipe -g -gdwarf-2 -Wall -W -fPIC -DONERING_LIBRARY -DQT_WEBKIT_LIB
-DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtScript.framework/Versions/4/Headers
-I/usr/include/QtScript
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Iinclude -I.
-F/Library/Frameworks -o application.o src/application.cpp
src/application.cpp:30: warning: unused parameter 'event'
src/application.cpp: In member function 'int Application::load(const
char*)':
src/application.cpp:129: error: invalid conversion from 'long int'
to 'void*'
src/application.cpp:129: error: initializing argument 4 of 'OSErr
AEInstallEventHandler(AEEventClass, AEEventID, OSErr (*)(const AEDesc*,
AEDesc*, void*), void*, Boolean)'
make: *** [application.o] Error 1

What version of the product are you using? On what operating system?
Revision: 39148cf127, mac ox x 10.6.5

Please provide any additional information below.
改了一下src/application.cpp line 129,去掉了(long)的强制转换,再编译就成功了


onering...@googlecode.com

unread,
Dec 28, 2010, 6:41:15 PM12/28/10
to oneri...@googlegroups.com

Comment #1 on issue 37 by stephen.zhuang: make报错
http://code.google.com/p/onering-desktop/issues/detail?id=37

PS: g++版本 i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build
5659)

onering...@googlecode.com

unread,
Jan 4, 2011, 2:07:06 AM1/4/11
to oneri...@googlegroups.com
Updates:
Status: Started
Owner: hongqn

Comment #2 on issue 37 by hongqn: make报错
http://code.google.com/p/onering-desktop/issues/detail?id=37

提交了 revision 1d4535ae3a ,再试试?

onering...@googlecode.com

unread,
Jan 31, 2011, 5:12:24 AM1/31/11
to oneri...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 37 by hongqn: make报错
http://code.google.com/p/onering-desktop/issues/detail?id=37

(No comment was entered for this change.)

onering...@googlecode.com

unread,
Feb 22, 2011, 9:55:47 PM2/22/11
to oneri...@googlegroups.com

Comment #4 on issue 37 by stephen....@gmail.com: make报错
http://code.google.com/p/onering-desktop/issues/detail?id=37

的确好了,昨天才试过

Reply all
Reply to author
Forward
0 new messages