Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839972 - app-emulation/fs-uae-3.1.66 - src/od-win32/picasso96_win.cpp:3305:40: error: cast from 'std::nullptr_t' to 'uaecptr' {aka 'unsigned int'} loses precision [-fpermissive] (on musl)
Summary: app-emulation/fs-uae-3.1.66 - src/od-win32/picasso96_win.cpp:3305:40: error: ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-porting 839975
  Show dependency tree
 
Reported: 2022-04-21 21:17 UTC by ernsteiswuerfel
Modified: 2022-08-06 03:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (fs-uae-3.1.66:20220421-205043.log,147.67 KB, text/plain)
2022-04-21 21:17 UTC, ernsteiswuerfel
Details
emerge --info (file_839972.txt,6.84 KB, text/plain)
2022-04-21 21:17 UTC, ernsteiswuerfel
Details
musl-1.2.3.patch (musl-1.2.3.patch,463 bytes, patch)
2022-04-22 07:33 UTC, ernsteiswuerfel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-04-21 21:17:15 UTC
Created attachment 772763 [details]
build.log

Thanks for fixing bug #838469!

But it only stops later at another build error:

[...]
/usr/include/libpng16 -I/usr/include/SDL2 -D_REENTRANT    -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden  -O2 -march=btver1 -mtune=btver1 -pipe -c -o src/od-win32/picasso96_win.o src/od-win32/picasso96_win.cpp
src/od-win32/picasso96_win.cpp: In function 'uae_u32 picasso_BlitRect(TrapContext*)':
src/od-win32/picasso96_win.cpp:3305:40: error: cast from 'std::nullptr_t' to 'uaecptr' {aka 'unsigned int'} loses precision [-fpermissive]
 3305 |         result = BlitRect (renderinfo, (uaecptr)NULL, srcx, srcy, dstx, dsty, width, height, Mask, BLIT_SRC);
      |                                        ^
make[2]: *** [Makefile:4548: src/od-win32/picasso96_win.o] Error 1
Comment 1 ernsteiswuerfel archtester 2022-04-21 21:17:48 UTC
Created attachment 772766 [details]
emerge --info
Comment 3 ernsteiswuerfel archtester 2022-04-22 07:33:47 UTC
Created attachment 772823 [details, diff]
musl-1.2.3.patch

Applying the 2nd part of the Alpine patch worked fine! fs-uae builds again.