Date: Fri, 17 Dec 1999 20:23:35 +0900 (JST) From: yakisoba@osaka.interq.or.jp To: FreeBSD-gnats-submit@freebsd.org Subject: gnu/15549: Fix -fformat-extensions support code merged into GCC 2.95.x Message-ID: <199912181331.WAA04889@smtp02.interq.net>
index | next in thread | raw e-mail
>Number: 15549
>Category: gnu
>Synopsis: Fix -fformat-extensions support code merged into GCC 2.95.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 18 05:40:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator: Naohiko Tsuji
>Release: FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:
FreeBSD 4.0-CURRENT i386
>Description:
It has the difference between EGCS 1.1.2 and GCC 2.95.X
about 'tfaff' in gcc/c-common.c. But '-fformat-extensions'
support code has not been chaged yet.
So, do 'make world', to found some warning.
EGCS 1.1.2
static char tfaff [] = "....";
somewhat ()
{
...
warning (tfaff); <--
...
}
GCC 2.95.X
static void
tfaff ()
{
warning ("...");
}
somewhat ()
{
...
tfaff (); <--
...
}
>How-To-Repeat:
>Fix:
'-fformat-extensions' support code in gcc/c-common.c
warning (tfaff); -> tfaff ();
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912181331.WAA04889>
