[Slackbuilds-users] wxHexEditor breaks on current.

Willy Sudiarto Raharjo willysr at slackbuilds.org
Wed Aug 2 22:07:28 UTC 2017


> creating frag_test
> make[2]: Leaving directory '/tmp/SBo/wxHexEditor/mhash/src'
> make[2]: Entering directory '/tmp/SBo/wxHexEditor/mhash'
> make[2]: Nothing to be done for 'all-am'.
> make[2]: Leaving directory '/tmp/SBo/wxHexEditor/mhash'
> make[1]: Leaving directory '/tmp/SBo/wxHexEditor/mhash'
> `wx-config --cxx` -c `wx-config --cxxflags` -Iudis86 -Imhash/include -MMD
> -fopenmp -O2 -fPIC   src/HexEditorGui.cpp -o src/HexEditorGui.o
> `wx-config --cxx` -c `wx-config --cxxflags` -Iudis86 -Imhash/include -MMD
> -fopenmp -O2 -fPIC   src/FAL.cpp -o src/FAL.o
> `wx-config --cxx` -c `wx-config --cxxflags` -Iudis86 -Imhash/include -MMD
> -fopenmp -O2 -fPIC   src/HexDialogs.cpp -o src/HexDialogs.o
> In file included from src/HexPanels.h:28:0,
>                  from src/HexEditorFrame.h:32,
>                  from src/HexPanels.h:27,
>                  from src/HexEditor.h:37,
>                  from src/HexDialogs.h:28,
>                  from src/HexDialogs.cpp:25:
> src/HexEditorCtrl/HexEditorCtrl.h: In member function ‘uint64_t
> Select::GetSize()’:
> src/HexEditorCtrl/HexEditorCtrl.h:63:39: error: call of overloaded
> ‘abs(uint64_t)’ is ambiguous
>     return abs( EndOffset - StartOffset)+1;}; //for select byte 13
> start=13, end=13
>                                        ^
> In file included from /usr/include/c++/7.1.0/cstdlib:75:0,
>                  from /usr/include/c++/7.1.0/stdlib.h:36,
>                  from mhash/include/mutils/mincludes.h:74,
>                  from src/../mhash/include/mhash.h:6,
>                  from src/HexEditor.h:28,
>                  from src/HexDialogs.h:28,
>                  from src/HexDialogs.cpp:25:
> /usr/include/stdlib.h:751:12: note: candidate: int abs(int)
>  extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
>             ^~~
> In file included from /usr/include/c++/7.1.0/cstdlib:77:0,
>                  from /usr/include/c++/7.1.0/stdlib.h:36,
>                  from mhash/include/mutils/mincludes.h:74,
>                  from src/../mhash/include/mhash.h:6,
>                  from src/HexEditor.h:28,
>                  from src/HexDialogs.h:28,
>                  from src/HexDialogs.cpp:25:
> /usr/include/c++/7.1.0/bits/std_abs.h:56:3: note: candidate: long int
> std::abs(long int)
>    abs(long __i) { return __builtin_labs(__i); }
>    ^~~
> /usr/include/c++/7.1.0/bits/std_abs.h:61:3: note: candidate: long long int
> std::abs(long long int)
>    abs(long long __x) { return __builtin_llabs (__x); }
>    ^~~
> /usr/include/c++/7.1.0/bits/std_abs.h:70:3: note: candidate: constexpr
> double std::abs(double)
>    abs(double __x)
>    ^~~
> /usr/include/c++/7.1.0/bits/std_abs.h:74:3: note: candidate: constexpr
> float std::abs(float)
>    abs(float __x)
>    ^~~
> /usr/include/c++/7.1.0/bits/std_abs.h:78:3: note: candidate: constexpr long
> double std::abs(long double)
>    abs(long double __x)
>    ^~~
> /usr/include/c++/7.1.0/bits/std_abs.h:84:3: note: candidate: constexpr
> __int128 std::abs(__int128)
>    abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
>    ^~~
> /usr/include/c++/7.1.0/bits/std_abs.h:102:3: note: candidate: constexpr
> __float128 std::abs(__float128)
>    abs(__float128 __x)
>    ^~~
> make: *** [Makefile:56: src/HexDialogs.o] Error 1
> 
> wxHexEditor:
> Would you like to continue processing the rest of the
> queue or would you like to abort?  If this failed
> package is a dependency of another package in the queue
> then it may not make sense to continue.
> 
> (Y)es to continue, (N)o to abort, (R)etry the build?:

You should check for Ponce's repository for -current
http://cgit.ponce.cc/slackbuilds/commit/?h=wxHexEditor


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170803/cf4e4c61/attachment.asc>


More information about the SlackBuilds-users mailing list