?

Log in

No account? Create an account
Na-na, nanananana na na, na katamari damacy - Chronicles of a Hereditary Geek [entries|archive|friends|userinfo]
Darth Paradox

[ website | Pyrlogos - a fantasy webcomic ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Na-na, nanananana na na, na katamari damacy [Sep. 28th, 2006|04:56 pm]
Darth Paradox
[Tags|, ]
[mood |amusedamused]
[music |Jethro Tull - Thick as a Brick]

The best "real-life" Katamari Damacy depiction I've yet seen. (YouTube)

In other news, today I exploited a bug in GCC 3.4 for material gain a porting project I'm working on. Haha.
linkReply

Comments:
[User Picture]From: mcmartin
2006-09-29 01:13 am (UTC)
Can you explain this bug?
(Reply) (Thread)
[User Picture]From: darthparadox
2006-09-29 01:34 am (UTC)
It is described here. (That's actually the post that clued me into the workaround. The alternative was actually changing the interface of a class from which a significant chunk of code inherits...)
(Reply) (Parent) (Thread)
From: kernighan
2006-09-29 03:09 pm (UTC)
yeah, but we wanted to hear how you exploited it!
(Reply) (Parent) (Thread)
[User Picture]From: darthparadox
2006-09-29 03:17 pm (UTC)
The bug report details the exploit pretty well. We're in the process of porting some code to RHEL4, and so the code has to comply with a compiler upgrade, and we ran into the error that the bug report describes, where a default argument is not permitted to a function typedef.

So instead of creating a function pointer type that contains a default argument directly, I created a function type that contains the default argument, and then another typedef declaring the original function pointer type in terms of this new function type. And the bug is that GCC allows me to do that. (It's classified as an "allows-invalid" bug in their database.)
(Reply) (Parent) (Thread)
From: kernighan
2006-09-29 01:34 am (UTC)
yeah, i wanna hear more details about this bug in the world's greatest program ever.
(Reply) (Thread)
[User Picture]From: grassynoel
2006-09-29 05:43 pm (UTC)
That's a funny ad!
(Reply) (Thread)