Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634224

Summary: app-accessibility/speech-tools-2.1-r2 fails to build with gcc-7.2: error: invalid conversion from 'char' to 'char*' [-fpermissive]
Product: Gentoo Linux Reporter: Christian Strahl <c.a.strahl>
Component: Current packagesAssignee: Gentoo Accessibility Team <accessibility>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457, sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: build.log

Description Christian Strahl 2017-10-14 09:03:22 UTC
emerging app-accessibility/speech-tools-2.1-r2 fails with gcc-7.2:

siod.cc: In function 'char** siod_variable_generator(char*, int)':
siod.cc:462:18: error: invalid conversion from 'char' to 'char*' [-fpermissive]
     matches[i] = '\0';
                  ^~~~
siod.cc: In function 'char** siod_command_generator(char*, int)':
siod.cc:501:18: error: invalid conversion from 'char' to 'char*' [-fpermissive]
     matches[i] = '\0';
                  ^~~~


Reproducible: Always
Comment 1 Christian Strahl 2017-10-14 09:05:08 UTC
Created attachment 498650 [details]
build.log
Comment 2 Christian Strahl 2017-10-15 20:09:01 UTC
patch provided in 
    https://github.com/gentoo/gentoo/pull/5956
Comment 3 Peter Levine 2018-03-31 03:06:21 UTC
This appears to have been resolved with https://github.com/gentoo/gentoo/commit/bde1d2d0a2289811e5b499fc279925cb47480ef9.

Please close.