Hello Marti,

Marti Raudsepp [2010-10-20 19:27 +0300]:
> Since nobody responded the last time

Ah, sorry about that. Must have gotten lost in the stack.

> I am still hitting this problem when building latest git version with
> GCC 4.5.1. Normally this would be a warning, but since udisks builds
> with -Werror by default, it breaks the build.

Thanks for pointing this out, I can reproduce that with gcc 4.5. I did
this a little differently, which I consider a cleaner approach:

  
http://cgit.freedesktop.org/udisks/commit/?id=5d07c97811138fa1542dd09f3178dad812b81a23

After that I got another warning about an uninitialized variable,
fixed as well in

  
http://cgit.freedesktop.org/udisks/commit/?id=dd48c454f14b6063f8584631f04bf4528969a82b

Now udisks git head builds fine with gcc 4.5.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to