Bug 6401 - add #line ... to sed-substituted c & c++
Summary: add #line ... to sed-substituted c & c++
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2008-04-14 16:59 UTC by Andrew Cagney
Modified: 2008-04-14 18:22 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-04-14 16:59:25 UTC
That way the compiler will report warnings against the original source, and not
the pre-processed file.
Comment 1 Andrew Cagney 2008-04-14 18:22:24 UTC
commit 50dd27460503311919f41c0c2ad58f150875fd3a
Author: Andrew Cagney <cagney@redhat.com>
Date:   Mon Apr 14 14:20:01 2008 -0400

    frysk-common/ChangeLog
    2008-04-14  Andrew Cagney  <cagney@redhat.com>
    
        * Makefile.rules (SUBST): For .c and .cxx, add a #line directive
        pointing to the original file.