Skip to content

Instantly share code, notes, and snippets.

@ericwomer
Created February 17, 2015 01:44
Show Gist options
  • Select an option

  • Save ericwomer/05f1b1bcc2d8454fc482 to your computer and use it in GitHub Desktop.

Select an option

Save ericwomer/05f1b1bcc2d8454fc482 to your computer and use it in GitHub Desktop.
make
[ 1%] Automatic moc for target kdevelop
[ 1%] Built target kdevelop_automoc
[ 1%] Built target kdevelop
[ 1%] Automatic moc for target kdevastyle
[ 1%] Built target kdevastyle_automoc
[ 3%] Built target kdevastyle
[ 3%] Automatic moc for target test_astyle
[ 3%] Built target test_astyle_automoc
[ 4%] Built target test_astyle
[ 4%] Automatic moc for target kdevcustomscript
[ 4%] Built target kdevcustomscript_automoc
[ 4%] Building CXX object formatters/customscript/CMakeFiles/kdevcustomscript.dir/customscript_plugin.cpp.o
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp: In member function ‘virtual QString CustomScriptPlugin::formatSourceWithStyle(KDevelop::SourceFormatterStyle, const QString&, const QUrl&, const QMimeType&, const QString&, const QString&)’:
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp:133:55: warning: ‘virtual const QUrl KDevelop::IProject::folder() const’ is deprecated (declared at /opt/kdevelop/include/kdevplatform/interfaces/iproject.h:147) [-Wdeprecated-declarations]
projectVariables[project->name()] = project->folder().toLocalFile();
^
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp: In function ‘QList<KDevelop::SourceFormatterStyle> stylesFromLanguagePlugins()’:
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp:224:55: error: invalid use of incomplete type ‘class KDevelop::ILanguage’
const SourceFormatterItemList& languageStyles = lang->sourceFormatterItems();
^
In file included from /home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp:46:0:
/opt/kdevelop/include/kdevplatform/interfaces/ilanguagecontroller.h:30:7: error: forward declaration of ‘class KDevelop::ILanguage’
class ILanguage;
^
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp: At global scope:
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp:388:9: warning: unused parameter ‘mime’ [-Wunused-parameter]
QString CustomScriptPlugin::previewText(const SourceFormatterStyle& style, const QMimeType& mime)
^
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp: In member function ‘QStringList CustomScriptPlugin::computeIndentationFromSample(const QUrl&)’:
/home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp:405:34: error: invalid use of incomplete type ‘class KDevelop::ILanguage’
QString sample = languages[0]->indentationSample();
^
In file included from /home/salamanderrake/src/kdevelop/formatters/customscript/customscript_plugin.cpp:46:0:
/opt/kdevelop/include/kdevplatform/interfaces/ilanguagecontroller.h:30:7: error: forward declaration of ‘class KDevelop::ILanguage’
class ILanguage;
^
formatters/customscript/CMakeFiles/kdevcustomscript.dir/build.make:55: recipe for target 'formatters/customscript/CMakeFiles/kdevcustomscript.dir/customscript_plugin.cpp.o' failed
make[2]: *** [formatters/customscript/CMakeFiles/kdevcustomscript.dir/customscript_plugin.cpp.o] Error 1
CMakeFiles/Makefile2:1337: recipe for target 'formatters/customscript/CMakeFiles/kdevcustomscript.dir/all' failed
make[1]: *** [formatters/customscript/CMakeFiles/kdevcustomscript.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment