Bug 1031317

Summary: kdebase4-workspace fails to build with GCC 7
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: wbauer
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    

Description Martin Liška 2017-03-28 12:01:54 UTC
https://build.opensuse.org/build/openSUSE:Factory:Staging:Gcc7/standard/x86_64/kdebase4-workspace/_log

[  193s] /home/abuild/rpmbuild/BUILD/kde-workspace-4.11.22/libs/oxygen/oxygenhelper.cpp: In member function 'bool Oxygen::Helper::hasHint(WId, Atom) const':
[  193s] /home/abuild/rpmbuild/BUILD/kde-workspace-4.11.22/libs/oxygen/oxygenhelper.cpp:1092:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
[  193s]          if( data == None || n != 1 ) return false;
[  193s]                      ^~~~
[  193s] make[2]: *** [libs/oxygen/CMakeFiles/oxygenstyle.dir/build.make:127: libs/oxygen/CMakeFiles/oxygenstyle.dir/oxygenhelper.cpp.o] Error 1

Can be tested in openSUSE:Factory:Staging:Gcc7 project.
Comment 1 Wolfgang Bauer 2017-04-03 13:37:28 UTC
Should be fixed by https://build.opensuse.org/request/show/484856 .