On Thu, Oct 3, 2013 at 2:06 PM, Joseph S. Myers <jos...@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 > jos...@codesourcery.com