[plt-scheme] NetBSD build and wchar_t

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Nov 12 17:24:34 EST 2008

At Wed, 12 Nov 2008 17:10:33 +0100, ecl at pckswarms.ch wrote:
> I'm building on NetBSD/macppc and the source in mred/gc2/xsrc
> keep redefining 
> 
> typedef int wchar_t
> 
> normally somewhere around line 250-350 or so.
> 
> This looks like it is generated automagically, but, I don't see the
> magic here.

See PR 9505:

  http://bugs.plt-scheme.org/query/?debug=&database=default&cmd=view+audit-trail&cmd=view&pr=9505

I think the right solution is to have xform preserve source-location
annotations (so that g++ will ignore the redeclaration), but I haven't
yet tried that.


Matthew



Posted on the users mailing list.