Bug 985074 - GCC6: qterm fails to build
GCC6: qterm fails to build
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Marguerite Su
E-mail List
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: ---


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 Bin Li 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
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 Bin Li 2016-06-24 08:29:30 UTC
Great job!