Re: [PATCH 5/6] cairo-script: Error if asked to decompress with missing compression lib
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 30, 2014 at 02:14:14AM +0000, Bryce W. Harrington wrote: > This quells the following warning: > > warning: enumeration value ‘LZO’ not handled in switch [-Wswitch-enum] > > The LZO enum value is defined and used elsewhere, even if lzo support > isn't available. > > This situation might arise if cairo scripts were generated on one system > with lzo, and then replayed on a system without it. For now simply > error out if this occurs. Right, I thought these currently fell into the default: case? -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo