Bug 15549

Summary: Fix -fformat-extensions support code merged into GCC 2.95.x
Product: Base System Reporter: yakisoba <yakisoba>
Component: gnuAssignee: David E. O'Brien <obrien>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   

Description yakisoba 1999-12-18 13:40:01 UTC
	 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 ();               <--
			...
		}

Fix: 

'-fformat-extensions' support code in gcc/c-common.c 

	warning (tfaff);   ->   tfaff ();
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-12-18 22:39:36 UTC
Responsible Changed
From-To: freebsd-bugs->obrien

obrien imported this 
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2000-04-18 04:55:16 UTC
State Changed
From-To: open->closed

patch applied.  Thanks!!