|
From: Vaclav B. <vb...@co...> - 2001-06-23 11:06:01
|
Hi,
since gcc-3.0 is out, I think it would be nice if the grub client
compiled with it... It doesn't, but the problem is simple to
repair - basically gcc-3.0 starts treating namespaces seriously,
so it's necessary to add a bunch of qualifications/using
directives. Please find attached a patch (of today's CVS sources)
doing that. If you look at it before applying (which I would
encourage :-) ), you'll also find a couple of comments I'd like to
act on - I may have too strict definition of what a bug is, but
code like
ClientDB::ClientDB(GrubCLog *log)
{
try {
arch = new archive();
} catch (ArException ex) {
cout<< "Caught Exception: " << ex.getErrno() << ": "
<< ex.getDescription() << endl;
}
just irritates me every time I see it...
Bye
Vasek
P.S.: Am I supposed to see my own messages posted to the
Grub-develop list if I'm subsribed to it? I think I haven't seen
my last message coming back and it really would be unfortunate if
the mail setup was wrong, I was talking to the wall and didn't
even know it... |