You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW: I think that should be REP_SIZE_T. If I change it though I get this:
build/release/share/src/integer/integer.cpp:381:31:
fatal error: conversion from 'integer' to
'std::__1::deque<unsigned char, std::__1::allocator<unsigned char> >::size_type'
(aka 'unsigned long') is ambiguous
out.insert(out.end(), whole - 1, 0);
The issue is:
const integer & whole = qr.first; // number of zeros to add to the back
and that really does have to be an integer (because one could be shifting a lot of bits).
Although I have no idea what would happen if you shifted more than uint64_t bits because
the underlying array would then be larger than memory on a 64 bit machine ....
So I guess a conversion from integer to REP_T is probably safe ..
I'm getting an ambiguity with clang. This is actually on a fork I made to prepare for
shared library visibility stuff:
The text was updated successfully, but these errors were encountered: