Patch to make trunk compile on m68k-next-nextstep3 with 3 = 3.2

Melissa O'Neill oneill@cs.sfu.ca
Sun Oct 4 12:56:00 GMT 1998


Toon wrote:
> This is what I get on compiling - am I doing something wrong ?
>
> exntest.cc:13: cstdio: No such file or directory

Manfred Hollstein answered why this is happening. You won't see the
problem if you switch back to the 19980921 snapshot. For now, you could
work around the problem by replacing:

	#include <cstdio>

with:

	extern "C" {
	#include <stdio.h>
	}

or even omit the line entirely an ignore the warning about printf not
having been declared. You could also use `-I<path-to-G++-include-directory'
as an option when compiling.

    Melissa.



More information about the Gcc-patches mailing list