On Thu, Feb 13, 2020 at 10:09:17AM +0000, Edd Barrett wrote: > Hi Kurt, > On Wed, Feb 12, 2020 at 11:56:14PM -0500, Kurt Mosiejczuk wrote: > > This patch fixes the build for emulators/fs-uae for sparc64.
> I was recently playing with a newer version of fs-uae and found that the > typeof errors (I assume that's what you are seeing) could be fixed by > passing -std=gnu++03. http://build-failures.rhaalovely.net/sparc64/2020-02-08/emulators/fs-uae.log src/od-fs/picasso96.cpp: In function 'uae_u32 picasso_BlitRect(TrapContext*)': src/od-fs/picasso96.cpp:3289:45: error: cast from 'std::nullptr_t' to 'uaecptr' {aka 'unsigned int'} loses precision [-fpermissive] result = BlitRect (renderinfo, (uaecptr)NULL, srcx, srcy, dstx, dsty, width, height, Mask, BLIT_SRC); I was just taking the compilers advice to fix it. :) So this is a cast that it didn't like. > If that works for the in-tree version, would it be preferable to > -fpermissive? > P.S. > If anyone is interested in having a newer fs-uae, we need a Python 3 > flavour of the wxWidgets bindings for fs-uae-launcher. I've not had time > to look into it. I'll take a look at it. --Kurt
