Bug 361941

Summary: Build fails with cppparsejob.cpp:847:47: error: ‘document’ was not declared in this scope
Product: [Applications] kdevelop Reporter: Andreas Sturmlechner <asturm>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.90.91   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.0.0
Sentry Crash Report:
Attachments: build.log

Description Andreas Sturmlechner 2016-04-18 19:57:56 UTC
I can not successfully build kdevelop 5.0 branch right now - build.log attached.

The line was introduced with commit 2947a8b43895db23bc8406a0acfc9b2a2fc6d9eb

Reproducible: Always
Comment 1 Andreas Sturmlechner 2016-04-18 20:00:01 UTC
Created attachment 98452 [details]
build.log
Comment 2 Kevin Funk 2016-04-18 20:07:13 UTC
Are you using kdevplatform 5.0 branch, too? You have to.
Comment 3 Andreas Sturmlechner 2016-04-18 20:46:28 UTC
Yes, I had built kdevplatform branch 5.0 right before that.
Comment 4 Kevin Funk 2016-04-18 21:10:24 UTC
Git commit 24d995d3d893ee4182f90a904c3312420cf6e431 by Kevin Funk.
Committed on 18/04/2016 at 21:10.
Pushed by kfunk into branch '5.0'.

oldcpp: Make compile

M  +5    -4    languages/cpp/codecompletion/model.h
M  +1    -1    languages/cpp/cppparsejob.cpp
M  +1    -1    languages/cpp/tests/cppjsontests.h

http://commits.kde.org/kdevelop/24d995d3d893ee4182f90a904c3312420cf6e431
Comment 5 Andreas Sturmlechner 2016-04-18 21:43:26 UTC
Built fine after the fix! Thank you.