Comments (3)
Fixed in f956214
from fast-dat-parser.
Dunno...
make
curl 'https://raw.githubusercontent.com/dcousens/hexxer/d76f9e526676535fd4c2584a8f84582994c35996/hexxer.h' > include/hexxer.hpp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2019 100 2019 0 0 4924 0 --:--:-- --:--:-- --:--:-- 4924
curl 'https://raw.githubusercontent.com/dcousens/ranger/568e116e931aefa437019d846fa1d36f79098679/ranger.hpp' > include/ranger.hpp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4691 100 4691 0 0 13402 0 --:--:-- --:--:-- --:--:-- 13364
curl 'https://raw.githubusercontent.com/dcousens/ranger/568e116e931aefa437019d846fa1d36f79098679/serial.hpp' > include/serial.hpp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2178 100 2178 0 0 6169 0 --:--:-- --:--:-- --:--:-- 6169
curl 'https://raw.githubusercontent.com/dcousens/threadpool/b6f29f27b4b658f4b0df976c9151a0f76aa86335/threadpool.hpp' > include/threadpool.hpp
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1708 100 1708 0 0 5083 0 --:--:-- --:--:-- --:--:-- 5068
g++ -pedantic -std=c++1z -W -Wall -Wcast-qual -Wconversion -Werror -Wextra -Wwrite-strings -Wno-unused-function -O3 -Iinclude -MMD -MP -c src/bestchain.cpp -o src/bestchain.o
g++ src/bestchain.o -lcrypto -O3 -o bestchain
g++ -pedantic -std=c++1z -W -Wall -Wcast-qual -Wconversion -Werror -Wextra -Wwrite-strings -Wno-unused-function -O3 -Iinclude -MMD -MP -c src/parser.cpp -o src/parser.o
src/parser.cpp: In function ‘int main(int, char**)’:
src/parser.cpp:34:43: error: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘size_t* {aka unsigned int*}’ [-Werror=format=]
if (sscanf(arg, "-t%lu", &transformIndex) == 1) {
~~~~~~~~~~~~~~~^
src/parser.cpp:52:37: error: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘size_t* {aka unsigned int*}’ [-Werror=format=]
if (sscanf(arg, "-j%lu", &nThreads) == 1) continue;
~~~~~~~~~^
src/parser.cpp:53:40: error: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘size_t* {aka unsigned int*}’ [-Werror=format=]
if (sscanf(arg, "-m%lu", &memoryAlloc) == 1) continue;
~~~~~~~~~~~~^
In file included from src/parser.cpp:9:0:
include/bitcoin.hpp: In instantiation of ‘auto BlockBase<S>::transactions() const [with S = __ranger::Range<unsigned char*>]’:
src/statistics.hpp:104:8: required from ‘void dumpASM<Block>::operator()(const Block&) [with Block = BlockBase<__ranger::Range<unsigned char*> >]’
src/parser.cpp:145:1: required from here
include/bitcoin.hpp:216:10: error: conversion to ‘size_t {aka unsigned int}’ from ‘long long unsigned int’ may alter its value [-Werror=conversion]
return TransactionRange<S>(copy, count);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/bitcoin.hpp: In instantiation of ‘auto {anonymous}::readTransaction(R&) [with R = __ranger::Range<unsigned char*>]’:
include/bitcoin.hpp:169:25: required from ‘auto TransactionRange<R>::front() [with R = __ranger::Range<unsigned char*>]’
src/statistics.hpp:106:16: required from ‘void dumpASM<Block>::operator()(const Block&) [with Block = BlockBase<__ranger::Range<unsigned char*> >]’
src/parser.cpp:145:1: required from here
include/bitcoin.hpp:114:33: error: conversion to ‘size_t {aka unsigned int}’ from ‘long long unsigned int’ may alter its value [-Werror=conversion]
const auto script = readRange(data, scriptLen);
~~~~~~~~~^~~~~~~~~~~~~~~~~
include/bitcoin.hpp:128:33: error: conversion to ‘size_t {aka unsigned int}’ from ‘long long unsigned int’ may alter its value [-Werror=conversion]
const auto script = readRange(data, scriptLen);
~~~~~~~~~^~~~~~~~~~~~~~~~~
include/bitcoin.hpp: In instantiation of ‘auto {anonymous}::readStack(R&) [with R = __ranger::Range<unsigned char*>]’:
include/bitcoin.hpp:138:33: required from ‘auto {anonymous}::readTransaction(R&) [with R = __ranger::Range<unsigned char*>]’
include/bitcoin.hpp:169:25: required from ‘auto TransactionRange<R>::front() [with R = __ranger::Range<unsigned char*>]’
src/statistics.hpp:106:16: required from ‘void dumpASM<Block>::operator()(const Block&) [with Block = BlockBase<__ranger::Range<unsigned char*> >]’
src/parser.cpp:145:1: required from here
include/bitcoin.hpp:86:42: error: conversion to ‘size_t {aka unsigned int}’ from ‘long long unsigned int’ may alter its value [-Werror=conversion]
stack.emplace_back(readRange(r, readVI(r)));
~~~~~~^~~
cc1plus: all warnings being treated as errors
Makefile:29: recipe for target 'src/parser.o' failed
make: *** [src/parser.o] Error 1
from fast-dat-parser.
Aye, 32 bit... Haven't tested that. Could you open a new issue?
from fast-dat-parser.
Related Issues (20)
- assert((txOutsIter != this->txOuts.end()) && !(hash < txOutsIter->first)); HOT 1
- Compilation code source errors in Ubuntu 16.04 HOT 2
- Ubuntu 16.04 make error HOT 12
- centos make error HOT 9
- How can i use it to get list of all vout and vin ? HOT 3
- Makefile:28: recipe for target 'src/parser.o' failed
- ubuntu16 gcc7.3 make error HOT 5
- 32bit build errors HOT 1
- README slightly out of date
- How to read parsed data? HOT 2
- g++ 8.3 compilation fail HOT 2
- Transform filter doesn't seem to work on Bitcoin Core v0.18.1
- binsort - avoid constant re-alloc HOT 1
- Usage instructions HOT 2
- could I use this to export my blk*.dat file to a human readable form? HOT 2
- transforms/leveldb: Use *_ID hashes over *_HASH HOT 1
- Re-testing HOT 1
- Nothing on stdout HOT 3
- Dump all scripts with unspent balances HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-dat-parser.