Skip to content

Instantly share code, notes, and snippets.

@ilkka
Created March 2, 2011 08:45
Show Gist options
  • Select an option

  • Save ilkka/850653 to your computer and use it in GitHub Desktop.

Select an option

Save ilkka/850653 to your computer and use it in GitHub Desktop.
g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_DECLARATIVE_LIB -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_OPENTYPE -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include/QtNetwork -I../../include/QtGui -I../../include/QtOpenGL -I../../include/QtXmlPatterns -I../../include/QtSql -I../../include/QtSvg -I../../include/QtScript -I../../include -I../../include/QtDeclarative -I.rcc/release-shared -Iutil -Igraphicsitems -Iqml -Iqml/parser -Iqml/rewriter -Idebugger -Iscenegraph/coreapi -Iscenegraph/convenience -Iscenegraph/3d -Iscenegraph/adaptationlayers -Iitems -I../3rdparty/harfbuzz/src -I/usr/X11R6/include -I.moc/release-shared -o .obj/release-shared/moc_qdeclarativetimer_p.o .moc/release-shared/moc_qdeclarativetimer_p.cpp
In file included from ../../include/QtScript/qscriptcontext.h:1,
from ../../include/QtScript/../../src/script/api/qscriptengine.h:39,
from ../../include/QtScript/qscriptengine.h:1,
from items/qsgitem.cpp:56:
../../include/QtScript/../../src/script/api/qscriptcontext.h: At global scope:
../../include/QtScript/../../src/script/api/qscriptcontext.h:43: error: expected identifier before numeric constant
../../include/QtScript/../../src/script/api/qscriptcontext.h:43: error: expected `}' before numeric constant
../../include/QtScript/../../src/script/api/qscriptcontext.h:43: error: expected unqualified-id before numeric constant
../../include/QtScript/../../src/script/api/qscriptcontext.h:56: error: expected constructor, destructor, or type conversion before ';' token
../../include/QtScript/../../src/script/api/qscriptcontext.h:58: error: non-member function 'QScriptContext* parentContext()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:59: error: non-member function 'QScriptEngine* engine()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:61: error: 'ExecutionState' does not name a type
../../include/QtScript/../../src/script/api/qscriptcontext.h:62: error: non-member function 'QScriptValue callee()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:64: error: non-member function 'int argumentCount()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:65: error: non-member function 'QScriptValue argument(int)' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:66: error: non-member function 'QScriptValue argumentsObject()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:68: error: non-member function 'QScriptValueList scopeChain()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:72: error: non-member function 'QScriptValue returnValue()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:75: error: non-member function 'QScriptValue activationObject()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:78: error: non-member function 'QScriptValue thisObject()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:81: error: non-member function 'bool isCalledAsConstructor()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:87: error: non-member function 'QStringList backtrace()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:89: error: non-member function 'QString toString()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h:91: error: expected unqualified-id before 'private'
../../include/QtScript/../../src/script/api/qscriptcontext.h:96: error: non-member function 'const QScriptContextPrivate* d_func()' cannot have cv-qualifier
../../include/QtScript/../../src/script/api/qscriptcontext.h: In function 'const QScriptContextPrivate* d_func()':
../../include/QtScript/../../src/script/api/qscriptcontext.h:96: error: new declaration 'const QScriptContextPrivate* d_func()'
../../include/QtScript/../../src/script/api/qscriptcontext.h:96: error: ambiguates old declaration 'QScriptContextPrivate* d_func()'
../../include/QtScript/../../src/script/api/qscriptcontext.h: At global scope:
../../include/QtScript/../../src/script/api/qscriptcontext.h:96: error: 'friend' used outside of class
../../include/QtScript/../../src/script/api/qscriptcontext.h:97: error: expected unqualified-id before 'const'
../../include/QtScript/../../src/script/api/qscriptcontext.h:97: error: expected `)' before 'const'
../../include/QtScript/../../src/script/api/qscriptcontext.h:97: error: 'QScriptContext& operator=(const QScriptContext&)' must be a nonstatic member function
../../include/QtScript/../../src/script/api/qscriptcontext.h:98: error: expected declaration before '}' token
make[1]: *** [.obj/release-shared/qsgitem.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/ilaukkan/src/scenegraph/qt-staging/src/declarative'
make: *** [sub-declarative-make_default-ordered] Error 2
@mvschynd
Copy link
Copy Markdown

mvschynd commented Mar 9, 2016

Did you ever figure out what the problem was. I am currently getting the exact same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment