This is the mail archive of the gcc-help@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: default include files only included in main file ?


Sorry, please ignore the question.

On Sun, Jan 19, 2014 at 9:58 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Hi, sorry to ask a daft question, but are default include files (eg:
> stdc-predef.h) only included in the main file ?
>
> So can I safely assume that if a particular file's include type is
> IT_DEFAULT or IT_CMDLINE (passed by -include), then the file
> #including it, shall be the main file (ie _cpp_file->main_file shall
> be true for that file) ?
>
> Thanks and Regards,
> Prathamesh


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