Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 864778 Details for
Bug 894644
app-text/djvu-3.5.28-r3 fails to compile (MUSL-CLANG-SYSTEM): GBitmap.h:623:3: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes the compilation issues on clang.
djvu-clang.patch (text/plain), 634 bytes, created by
Guillaume de Volpiano
on 2023-06-28 10:48:58 UTC
(
hide
)
Description:
Fixes the compilation issues on clang.
Filename:
MIME Type:
Creator:
Guillaume de Volpiano
Created:
2023-06-28 10:48:58 UTC
Size:
634 bytes
patch
obsolete
>diff --git a/libdjvu/GBitmap.h b/libdjvu/GBitmap.h >index ca89a19..b579f5d 100644 >--- a/libdjvu/GBitmap.h >+++ b/libdjvu/GBitmap.h >@@ -620,7 +620,7 @@ GBitmap::euclidian_ratio(int a, int b, int &q, int &r) > inline int > GBitmap::read_run(unsigned char *&data) > { >- register int z=*data++; >+ int z=*data++; > return (z>=RUNOVERFLOWVALUE)? > ((z&~RUNOVERFLOWVALUE)<<8)|(*data++):z; > } >@@ -628,7 +628,7 @@ GBitmap::read_run(unsigned char *&data) > inline int > GBitmap::read_run(const unsigned char *&data) > { >- register int z=*data++; >+ int z=*data++; > return (z>=RUNOVERFLOWVALUE)? > ((z&~RUNOVERFLOWVALUE)<<8)|(*data++):z; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 894644
:
851480
| 864778