[openbeos] -Wmissing-prototypes
- From: "Andrew Bachmann" <shatty@xxxxxxxxxxxxx>
- To: "openbeos" <openbeos@xxxxxxxxxxxxx>
- Date: Tue, 30 Dec 2003 19:53:59 -0800 PST
Hello all,
I've been helping Rudolf with his graphics drivers and we are running into a
_lot_ of these
warnings:
warning: no previous prototype for `xxx'
Now, we can fix these by taking every function like this:
int function(void) {
}
And adding this line in front:
extern int function(void);
But this seems really stupid. Does anyone have a strong argument for
preserving this warning?
Perhaps there is an alternative warning we could use instead? Or perhaps we
could at least
remove it from CCFLAGS and keep it for C++FLAGS?
Andrew
- Follow-Ups:
- [openbeos] Re: -Wmissing-prototypes
- From: Michael Phipps
- [openbeos] Re: -Wmissing-prototypes
- From: Axel Dörfler
Other related posts:
- » [openbeos] -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- » [openbeos] Re: -Wmissing-prototypes
- [openbeos] Re: -Wmissing-prototypes
- From: Michael Phipps
- [openbeos] Re: -Wmissing-prototypes
- From: Axel Dörfler