[PATCH] kdelibs/kdecore/kpty fix
ranger at befunk.com
Mon Jan 12 14:08:44 GMT 2004
The version of gcc on my mac doesn't like the way gid_t gid and group* p
kpty.cpp: In member function `bool KPty::open()':
kpty.cpp:278: warning: jump to label `gotpty2'
kpty.cpp:210: warning: from here
kpty.cpp:273: error: crosses initialization of `gid_t gid'
kpty.cpp:272: error: crosses initialization of `group*p'
make: *** [kpty.lo] Error 1
...this patch fixes it. Not sure why it's necessary, it seems like
Apple's gcc is inappropriately pedantic, but it seems a safe enough
Benjamin Reed a.k.a. Ranger Rick -- http://ranger.befunk.com/
gpg: 6401 D02A A35F 55E9 D7DD 71C5 52EF A366 D3F6 65FE
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the kde-core-devel