Issue Details (XML | Word | Printable)

Key: PCC-372
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Anders Magnusson
Reporter: Iain Hibbert
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

-Wmissing-prototypes reports error for ANSI style function argument call

Created: 27/Jul/11 07:19 PM   Updated: 04/Sep/11 08:11 AM
Component/s: C frontend
Affects Version/s: None
Fix Version/s: None

Environment: NetBSD/i386

 Description  « Hide
the following code example

static void
foo(void (*a)())

when compiled with pcc -Wmissing-prototypes produces an error

  foo.c:4: error: no previous prototype for `<pointer>'

(I think this is a fairly recent regression)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson made changes - 28/Jul/11 01:37 PM
Field Original Value New Value
Assignee Anders Magnusson [ ragge ]
Iain Hibbert made changes - 04/Sep/11 08:11 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]