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: temp preprocessed filename


Here's a smaller testcase:

  typedef int ptrdiff_t;

  namespace std {
    using ::ptrdiff_t;
  }

  void foo() {}

when you run:

  g++ -g -E foo.cpp > foo.ii; g++ -g -c foo.ii

the foo.o produced contains a reference to foo.ii in .debug_line.

  Michael


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