This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]