[cfe-commits] Change semicolon warning from Extension to ExtWarn...

Carl Norum carl.norum at apple.com
Mon Mar 7 14:02:37 PST 2011


Here's a patch that cleans up an annoyance we've had lately with trying to keep our source base working with both clang and MSVC2003.  Clang doesn't warn about the missing semicolon in a declaration like:

   struct s {
     int a
   };

But MSVC chokes on it.  GCC defaults to warning about this error.  If the patch looks okay, let me know and I'll commit it.

-- Carl


-------------- next part --------------
A non-text attachment was scrubbed...
Name: semicolon_patch.patch
Type: application/octet-stream
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110307/3a5f76c6/attachment.obj>


More information about the cfe-commits mailing list