This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Reducing number of alias checks in vectorization.


On Thu, Oct 3, 2013 at 2:06 PM, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Tue, 1 Oct 2013, Cong Hou wrote:
>
>> +#include <vector>
>> +#include <utility>
>> +#include <algorithm>
>> +
>>  #include "config.h"
>
> Whatever the other issues about including these headers at all, any system
> header (C or C++) must always be included *after* config.h, as config.h
> may define feature test macros that are only properly effective if defined
> before any system headers are included, and these macros (affecting such
> things as the size of off_t) need to be consistent throughout GCC.
>

OK. Actually I did meet some conflicts when I put those three C++
headers after all other includes.

Thank you for the comments.


Cong


> --
> Joseph S. Myers
> joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]