Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amd64 reaper-bin-7.18 does not compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 781

PostPosted: Fri Jul 26, 2024 9:03 pm    Post subject: amd64 reaper-bin-7.18 does not compile Reply with quote

x86_64-pc-linux-gnu-g++ -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=25600 -O2 -pipe -fvisibility=hidden -fno-math-errno -fPIC -DPIC -Wall -Wshadow -Wno-unused-function -Wno-multichar -Wtype-limits -Wno-unused-value -Wno-error=array-bounds -DSWELL_MAKING_DYLIB -D_FILE_OFFSET_BITS=64 -Wno-unused-result -Werror -Wno-deprecated-declarations -DNDEBUG -DSWELL_TARGET_GDK=3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/fribidi -DSWELL_PRELOAD="libgdk-3.so.0" -DSWELL_LICE_GDI -DSWELL_FREETYPE -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSWELL_FONTCONFIG -Wl,-z,lazy -c -o lice_bmp.o ../lice/lice_bmp.cpp
swell-gdi-lice.cpp: In function ‘void SWELL_internalLICEpaint(HWND, LICE_IBitmap*, int, int, bool)’:
swell-gdi-lice.cpp:1591:36: error: storing the address of local variable ‘ctx’ in ‘*hwnd.HWND__::m_paintctx’ [-Werror=dangling-pointer=]
1591 | if (forceref) hwnd->m_paintctx = &ctx;
| ~~~~~~~~~~~~~~~~~^~~~~~
swell-gdi-lice.cpp:1580:27: note: ‘ctx’ declared here
1580 | swell_gdpLocalContext ctx;
| ^~~
swell-gdi-lice.cpp:1566:35: note: ‘hwnd’ declared here
1566 | void SWELL_internalLICEpaint(HWND hwnd, LICE_IBitmap *bmout, int bmout_xpos, int bmout_ypos, bool forceref)


output of `emerge --info '=media-sound/reaper-bin-7.18::gentoo'`
https://paste.gentoo.zip/yxzX0vE0

Build log:
https://paste.gentoo.zip/x4SiulZ7

ebuild environment
https://paste.gentoo.zip/36LYsut8

https://bugs.gentoo.org/936678


Last edited by Progman3K on Sat Jul 27, 2024 2:12 am; edited 1 time in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3035

PostPosted: Sat Jul 27, 2024 12:56 am    Post subject: Re: amd64 reaper-bin-7.18 does not compile Reply with quote

Progman3K wrote:
x86_64-pc-linux-gnu-g++ -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=25600 -O2 -pipe -fvisibility=hidden -fno-math-errno -fPIC -DPIC -Wall -Wshadow -Wno-unused-function -Wno-multichar -Wtype-limits -Wno-unused-value -Wno-error=array-bounds -DSWELL_MAKING_DYLIB -D_FILE_OFFSET_BITS=64 -Wno-unused-result -Werror -Wno-deprecated-declarations -DNDEBUG -DSWELL_TARGET_GDK=3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/fribidi -DSWELL_PRELOAD="libgdk-3.so.0" -DSWELL_LICE_GDI -DSWELL_FREETYPE -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DSWELL_FONTCONFIG -Wl,-z,lazy -c -o lice_bmp.o ../lice/lice_bmp.cpp
swell-gdi-lice.cpp: In function ‘void SWELL_internalLICEpaint(HWND, LICE_IBitmap*, int, int, bool)’:
swell-gdi-lice.cpp:1591:36: error: storing the address of local variable ‘ctx’ in ‘*hwnd.HWND__::m_paintctx’ [-Werror=dangling-pointer=]
1591 | if (forceref) hwnd->m_paintctx = &ctx;
| ~~~~~~~~~~~~~~~~~^~~~~~
swell-gdi-lice.cpp:1580:27: note: ‘ctx’ declared here
1580 | swell_gdpLocalContext ctx;
| ^~~
swell-gdi-lice.cpp:1566:35: note: ‘hwnd’ declared here
1566 | void SWELL_internalLICEpaint(HWND hwnd, LICE_IBitmap *bmout, int bmout_xpos, int bmout_ypos, bool forceref)



https://bugs.gentoo.org/936678


Please include all the info that Portage asked you to post in the error message.
You will need to use wgetpaste for the build log.
Likewise the bug also, otherwise it will be closed as INVALID.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 781

PostPosted: Sat Jul 27, 2024 2:26 am    Post subject: Re: amd64 reaper-bin-7.18 does not compile Reply with quote

kimchi_sg wrote:
Please include all the info that Portage asked you to post in the error message.
You will need to use wgetpaste for the build log.
Likewise the bug also, otherwise it will be closed as INVALID.

Done.
Thank you, kimchi_sg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum