Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on i386 systems #147

Closed
yurivict opened this issue Apr 28, 2021 · 1 comment
Closed

Build fails on i386 systems #147

yurivict opened this issue Apr 28, 2021 · 1 comment
Labels
Milestone

Comments

@yurivict
Copy link

Log: http://beefy15.nyi.freebsd.org/data/130i386-default/0ae18b07e470/logs/lms-3.25.0.log (IPv6 URL)

/wrkdirs/usr/ports/multimedia/lms/work/lms-3.25.0/src/lms/ui/resource/DownloadResource.cpp:70:31: error: non-constant-expression cannot be narrowed from type 'Zip::SizeType' (aka 'unsigned long long') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                std::size_t nbWrittenBytes {zipper->writeSome(buffer.data(), buffer.size())};
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/multimedia/lms/work/lms-3.25.0/src/lms/ui/resource/DownloadResource.cpp:70:31: note: insert an explicit cast to silence this issue
                std::size_t nbWrittenBytes {zipper->writeSome(buffer.data(), buffer.size())};
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                            static_cast<size_t>(                           )
1 error generated.

FreeBSD 13
It is probably broken on all non-64-bit systems.

@epoupon epoupon added the bug label Apr 28, 2021
epoupon added a commit that referenced this issue Apr 28, 2021
@epoupon
Copy link
Owner

epoupon commented Apr 28, 2021

Ok reproduced and fixed. I will spin a new release v3.25.2 asap

@epoupon epoupon closed this as completed Apr 28, 2021
@epoupon epoupon added this to the v3.25.2 milestone Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants