When compiling throuigh eosfactory.build certain compiler warnings are not being displayed:
This command is missing the compiler warnings:
$ python3 -m eosfactory.build `pwd`/..
######## command line:
eosio-cpp -o /Users/trj/projects/freeu/eos/contracts/fupm/build/fupm.wasm -I=/Users/trj/projects/freeu/eos/contracts/fupm -I=/Users/trj/projects/freeu/eos/contracts/fupm/include -abigen -R=/Users/trj/projects/freeu/eos/contracts/fupm/../ricardian /Users/trj/projects/freeu/eos/contracts/fupm/src/fupm.cpp
eosio-cpp: .....
Warning, empty ricardian clause file
Warning, empty ricardian clause file
Warning, action <emplaceusr> does not have a ricardian contract
Warning, action <addrtg> does not have a ricardian contract
Warning, action <addproc> does not have a ricardian contract
ABI file writen to file:
/Users/trj/projects/freeu/eos/contracts/fupm/build/fupm.abi
WASM file writen to file:
/Users/trj/projects/freeu/eos/contracts/fupm/build/fupm.wasm
eosio-cpp: OK
Running the eosio command directly will show the compiler warning:
$ eosio-cpp -o /Users/trj/projects/freeu/eos/contracts/fupm/build/fupm.wasm -I=/Users/trj/projects/freeu/eos/contracts/fupm -I=/Users/trj/projects/freeu/eos/contracts/fupm/include -abigen -R=/Users/trj/projects/freeu/eos/contracts/fupm/../ricardian /Users/trj/projects/freeu/eos/contracts/fupm/src/fupm.cpp
Warning, empty ricardian clause file
Warning, empty ricardian clause file
Warning, action <emplaceusr> does not have a ricardian contract
Warning, action <addrtg> does not have a ricardian contract
Warning, action <addproc> does not have a ricardian contract
/var/folders/0f/6vs58vd94v7f89zlxt9rxync0000gn/T//fupm.cpp:154:71: warning: shift count >= width of type [-Wshift-count-overflow]
uint128_t get_composite() const { return (procRaterName.value << 64 || procDevName.value);};
^ ~~
1 warning generated.
When compiling throuigh eosfactory.build certain compiler warnings are not being displayed:
This command is missing the compiler warnings:
Running the eosio command directly will show the compiler warning: