On 6/8/16, 11:12 AM, "tha...@google.com on behalf of Nico Weber" 
<tha...@google.com on behalf of tha...@chromium.org> wrote:
>On Wed, Jun 8, 2016 at 1:56 PM, Eric Niebler <enieb...@fb.com> wrote:
>>
>>(adding back cfe-commits, answers inline)
>>
>>On 6/8/16, 10:11 AM, "tha...@google.com on behalf of Nico Weber" 
>><tha...@google.com on behalf of tha...@chromium.org> wrote:
>>>Sounds like "commit to the current file case and fix all the world's 
>>>includes" then :-) (MinGW's windows headers have different case than MSVC's, 
>>>making this extra annoying.)
>>>
>>>Maybe this warning could be keyed off -fmsc-version in clang-cl then and 
>>>only be enabled there once a future MSVC with headers where this is fixed 
>>>has been deployed and is picked via -fmsc-version?
>>
>>I just changed the patch so that #includes to headers found in system include 
>>paths do not trigger this warning by default (unless the header is a known 
>>“portable” header – i.e., standard C/C++/Posix or Boost headers). This 
>>shouldn’t be an issue anymore.
>
>Well, it'd be nice if the warning would fire everywhere and everyone got their 
>cases right – then a project that builds on a case-insensitive file system 
>should compile fine if it's moved to a case-sensitive one.

Sure, that’d be nice. And folks who really care can get that with my patch by 
flipping –Wnonportable-system-include-path; it’s just not the default. You 
could think of this patch as a staged rollout of the feature.

\e
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to