the importance of -ansi
Thiago Macieira
thiago at kde.org
Sat Jun 16 00:30:24 BST 2007
Jos van den Oever wrote:
>2007/6/15, John Tapsell <johnflux at gmail.com>:
>> Wow, how on earth did you track that down?!
>>
>> I have much to learn from the demi-god coders.
>
>It was a mix of Thiago, valgrind, cpp and diff.
I thought it was a stale build because that had happened to me once. I was
getting crashes I could not understand and valgrind was reporting memory
violations ("address is 0 bytes after a block of XX bytes at 0xHHHHHH")
that shouldn't be there. That's exactly the same symptom Jos was having.
My problem was fixed by removing all .o and rebuilding.
But when I started reading CLucene code, I was thinking "whoever released
this should be sent back to school". Sorry, but the code is nasty. It
changes class sizes according to macros like _DEBUG. That's just asking
for trouble.
That is still my opinion. CLucene needs to be cleaned up so that it does
NOT depend on macros.
In any case, I'd never have guessed math.h does the same thing. Then
again, I'd never heard about float_t. Why is that being used at all? It's
nowhere in glibc's TeXinfo documentation.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070616/84eb975e/attachment.sig>
More information about the kde-core-devel
mailing list