Re: temp preprocessed filename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux