Bug 6401

Summary: add #line ... to sed-substituted c & c++
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2235    

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.