Warnings stopping compilation???

Nathan Sidwell nathan@acm.org
Fri Feb 18 03:56:00 GMT 2000


rhfreeman wrote:

> nothing else of interest (just includes/libraries, no optimisations) and I
> get this WARNING on compilation.
> 
> rwaves.c:2634: warning: dereferencing `void *' pointer
That is a warning (it says `warning:')
> rwaves.c:2634: void value not ignored as it ought to be
That is an error (it doesn't say `warning:')

> This actually stop gcc from generating an a.out file, despite the fact the
You have an error in the source (without seeing the code, I can't say
whether gcc is right or wrong about that).

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


More information about the Gcc-bugs mailing list