From owner-freebsd-bugs Sun Jul 21 17:50:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA06112 for bugs-outgoing; Sun, 21 Jul 1996 17:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA06106; Sun, 21 Jul 1996 17:50:02 -0700 (PDT) Resent-Date: Sun, 21 Jul 1996 17:50:02 -0700 (PDT) Resent-Message-Id: <199607220050.RAA06106@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, alm@slewsys.org Received: from worm.slewsys.org (wormhole.slewsys.org [140.174.112.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA05997 for ; Sun, 21 Jul 1996 17:48:00 -0700 (PDT) Received: from woops.slewsys.org (woops.slewsys.org [140.174.112.3]) by worm.slewsys.org (8.7.4/8.7.3) with ESMTP id RAA10463 for ; Sun, 21 Jul 1996 17:47:57 -0700 (PDT) Received: (from alm@localhost) by woops.slewsys.org (8.7.4/8.7.3) id RAA19465; Sun, 21 Jul 1996 17:47:57 -0700 (PDT) Message-Id: <199607220047.RAA19465@woops.slewsys.org> Date: Sun, 21 Jul 1996 17:47:57 -0700 (PDT) From: Andrew Moore Reply-To: alm@slewsys.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1416: cflow(1) doesn't parse GNU C __attribute__ syntax Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1416 >Category: ports >Synopsis: cflow(1) doesn't parse GNU C __attribute__ syntax >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 21 17:50:00 PDT 1996 >Last-Modified: >Originator: Andrew L. Moore >Organization: SlewSys Research >Release: FreeBSD 2.1-STABLE i386 >Environment: GNU C >= 2.6 >Description: The cflow(1) parser does not understand the GNU C __attribute__ syntax. >How-To-Repeat: Run cflow(1) on source that uses the __attribute__ syntax -- e.g., include >Fix: In the cflow shell script, change the preprocessor command line from "cc -E" to "cc -E -D__attribute__(x)=" This strips both function and variable attributes from the input and makes the cflow(1) parser happy. >Audit-Trail: >Unformatted: