Bug 985074 - GCC6: qterm fails to build
Summary: GCC6: qterm fails to build
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marguerite Su
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 984984
  Show dependency treegraph
 
Reported: 2016-06-16 13:04 UTC by Dominique Leuenberger
Modified: 2016-06-24 08:29 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2016-06-16 13:04:03 UTC
Since the update to GCC6, openSUSE:Factory/qterm fails to build
Comment 1 Forgotten User _PxcxmX-kS 2016-06-24 07:25:13 UTC
Thanks for taking care of it, I received the build failure today, now I need install a openSUSE to fix it, just download it, ;)
Please go on. Below is the build error.
Now I still don't know how to add you into the  X11:Utilities group, you can try to upload package to it first.

/home/abuild/rpmbuild/BUILD/qterm-0.5.12/src/uaocodec.cpp:15598:1: error: narrowing conversion of ''\37777777642'' from 'char' to 'uchar {aka unsigned char}' inside { } [-Wnarrowing]
Comment 2 Marguerite Su 2016-06-24 08:12:19 UTC
https://build.opensuse.org/request/show/404461
Comment 3 Marguerite Su 2016-06-24 08:13:49 UTC
(In reply to Bin Li from comment #1)
> /home/abuild/rpmbuild/BUILD/qterm-0.5.12/src/uaocodec.cpp:15598:1: error:
> narrowing conversion of ''\37777777642'' from 'char' to 'uchar {aka unsigned
> char}' inside { } [-Wnarrowing]

It can be resolved by static_cast<unsigned char>('something'). just wrote a script to have all such strings fixed.
Comment 4 Forgotten User _PxcxmX-kS 2016-06-24 08:29:30 UTC
Great job! 
:)