Merge branch 'next'
This commit is contained in:
commit
487fb22535
5 changed files with 16 additions and 5 deletions
4
acprep
4
acprep
|
|
@ -236,7 +236,8 @@ class BoostInfo(object):
|
|||
'libboost-python-dev',
|
||||
'libboost-regex-dev',
|
||||
'libboost-date-time-dev',
|
||||
'libboost-filesystem-dev' ]
|
||||
'libboost-filesystem-dev',
|
||||
'libboost-iostreams-dev' ]
|
||||
|
||||
class CommandLineApp(object):
|
||||
"Base class for building command line applications."
|
||||
|
|
@ -879,6 +880,7 @@ class PrepareBuild(CommandLineApp):
|
|||
'libtool',
|
||||
'autoconf',
|
||||
'automake',
|
||||
'autopoint',
|
||||
'zlib1g-dev',
|
||||
'libbz2-dev',
|
||||
'python-dev',
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
STOW_ROOT = /usr/local/stow
|
||||
PRODUCTS = $(HOME)/Products
|
||||
|
||||
GCC_VERSION = 4.5
|
||||
GCC_VERSION = 4.6
|
||||
BOOST_VERSION = 1_46_1
|
||||
|
||||
CC = gcc-mp-$(GCC_VERSION)
|
||||
|
|
|
|||
11
src/xact.cc
11
src/xact.cc
|
|
@ -325,9 +325,18 @@ bool xact_base_t::finalize()
|
|||
DEBUG("xact.finalize", "there was a null posting");
|
||||
|
||||
if (balance.is_balance()) {
|
||||
bool first = true;
|
||||
const balance_t& bal(balance.as_balance());
|
||||
typedef std::map<string, amount_t> sorted_amounts_map;
|
||||
sorted_amounts_map samp;
|
||||
foreach (const balance_t::amounts_map::value_type& pair, bal.amounts) {
|
||||
std::pair<sorted_amounts_map::iterator, bool> result =
|
||||
samp.insert(sorted_amounts_map::value_type(pair.first->mapping_key(),
|
||||
pair.second));
|
||||
assert(result.second);
|
||||
}
|
||||
|
||||
bool first = true;
|
||||
foreach (sorted_amounts_map::value_type& pair, samp) {
|
||||
if (first) {
|
||||
null_post->amount = pair.second.negated();
|
||||
null_post->add_flags(POST_CALCULATED);
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ class LedgerHarness:
|
|||
line == "GuardMalloc: - Some buffer overruns may not be noticed.\n" or \
|
||||
line == "GuardMalloc: - Applications using vector instructions (e.g., SSE or Altivec) may fail.\n" or \
|
||||
line == "GuardMalloc: - Applications expecting word-aligned pointers may fail (such as Carbon applications)\n" or \
|
||||
line == "GuardMalloc: GuardMalloc version 18\n":
|
||||
line.startswith("GuardMalloc: GuardMalloc version"):
|
||||
continue
|
||||
else:
|
||||
lines.append(line)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ fi
|
|||
|
||||
rm -fr ~/Products/ledger-proof
|
||||
|
||||
time ./acprep --enable-doxygen --universal -j16 --warn proof 2>&1 | \
|
||||
time ./acprep --enable-doxygen --universal -j16 --gcc46 --warn proof 2>&1 | \
|
||||
tee ~/Desktop/proof.log
|
||||
|
||||
if egrep -q '(ERROR|CRITICAL)' ~/Desktop/proof.log; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue