[cfe-commits] r134392 - /cfe/trunk/lib/Basic/Targets.cpp

Chandler Carruth chandlerc at google.com
Mon Jul 4 16:02:18 PDT 2011


This is now triggering lots of warnings:

On Mon, Jul 4, 2011 at 2:57 PM, Joerg Sonnenberger <joerg at bec.de> wrote:

> +    switch (getTriple().getOS()) {


lib/Basic/Targets.cpp:805:13: error: 17 enumeration values not handled in
switch: 'UnknownOS', 'AuroraUX', 'Cygwin'... [-Werror,-Wswitch-enum]


If you're going to convert all of these to switches, you need to fully
expand the enums.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110704/281c13a1/attachment.html>


More information about the cfe-commits mailing list