[Digikam-devel] Re: Compile warnings
Gilles Caulier
caulier.gilles at gmail.com
Fri Apr 22 20:31:58 BST 2011
2011/4/22 Andi Clemens <andi.clemens at gmx.net>:
> Hi,
>
> since 3 months I get a lot of compile warnings especially with libjpeg:
>
> /home/andi/Programmieren/KDE/digikam/libs/dimg/loaders/jpegloader.cpp:257:12:
> warning: enumeration value ‘JCS_EXT_RGB’ not handled in switch [-Wswitch]
> /home/andi/Programmieren/KDE/digikam/libs/dimg/loaders/jpegloader.cpp:257:12:
> warning: enumeration value ‘JCS_EXT_RGBX’ not handled in switch [-Wswitch]
> /home/andi/Programmieren/KDE/digikam/libs/dimg/loaders/jpegloader.cpp:257:12:
> warning: enumeration value ‘JCS_EXT_BGR’ not handled in switch [-Wswitch]
> /home/andi/Programmieren/KDE/digikam/libs/dimg/loaders/jpegloader.cpp:257:12:
> warning: enumeration value ‘JCS_EXT_BGRX’ not handled in switch [-Wswitch]
> /home/andi/Programmieren/KDE/digikam/libs/dimg/loaders/jpegloader.cpp:257:12:
> warning: enumeration value ‘JCS_EXT_XBGR’ not handled in switch [-Wswitch]
> /home/andi/Programmieren/KDE/digikam/libs/dimg/loaders/jpegloader.cpp:257:12:
> warning: enumeration value ‘JCS_EXT_XRGB’ not handled in switch [-Wswitch]
>
> Can we handle those new variables with
> default:break;
Yes, this must be the right way...
Gilles
More information about the Digikam-devel
mailing list