| Summary: | Fix -fformat-extensions support code merged into GCC 2.95.x | ||
|---|---|---|---|
| Product: | Base System | Reporter: | yakisoba <yakisoba> |
| Component: | gnu | Assignee: | David E. O'Brien <obrien> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.0-CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->obrien obrien imported this State Changed From-To: open->closed patch applied. Thanks!! |
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 ();