public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* default include files only included in main file ?
@ 2014-01-19 16:28 Prathamesh Kulkarni
  2014-01-19 16:43 ` Prathamesh Kulkarni
  0 siblings, 1 reply; 2+ messages in thread
From: Prathamesh Kulkarni @ 2014-01-19 16:28 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: default include files only included in main file ?
  2014-01-19 16:28 default include files only included in main file ? Prathamesh Kulkarni
@ 2014-01-19 16:43 ` Prathamesh Kulkarni
  0 siblings, 0 replies; 2+ messages in thread
From: Prathamesh Kulkarni @ 2014-01-19 16:43 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-19 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 16:28 default include files only included in main file ? Prathamesh Kulkarni
2014-01-19 16:43 ` Prathamesh Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).