[MAJOR BUG] g++ 2.95.x generates invalid code for KDE 3.3.0

Adriaan de Groot groot at kde.org
Fri Sep 17 22:03:56 BST 2004


On Friday 17 September 2004 21:44, Thiago Macieira wrote:
> The attached program is a simple test-case showing the problem. It mimics
> the hierarchy leading to KNetwork::KStreamSocket and, thence, to
> KNetwork::KBufferedSocket. The latter is being used already in Kopete code
> as released with KDE 3.3.0, as well as Konversation.

Using

vattenmelon-adridg$uname -a
FreeBSD vattenmelon.fruitsalad 4.9-STABLE FreeBSD 4.9-STABLE #1: Tue Mar16 
14:12:23 CET 2004     
root at vattenmelon.fruitsalad:/usr/obj/usr/src/sys/VATTENMELON  i386

vattenmelon-adridg$g++ --version
2.95.4

vattenmelon-adridg$g++ -o foop t.cpp
vattenmelon-adridg$./foop
à00 vattenmelon-adridg$

(Er, the sample code was put in t.cpp; since you don't specify what output you 
expect, I'll assume that _any_ output as opposed to a SEGV is OK).

-- 
Don't worry, 't ain't no shame to be stupid - ol' mouse.
    GPG: FEA2 A3FE Adriaan de Groot




More information about the kde-core-devel mailing list