http://gcc.gnu.org/gcc-4.9/porting_to.html
See extract below:
The <cstddef> header was updated for C++11 support and this breaks some
libraries which misuse macros meant for internal use by GCC only. For
instance with GMP versions up to 5.1.3, you may see:
/usr/include/c++/4.9.0/cstddef:51:11: error: ‘::max_align_t’ has not been declared
using ::max_align_t;
^
Another possible error is:
someheader.h:99:13: error: ‘ptrdiff_t’ does not name a type
A workaround until libraries get updated is to include <cstddef> or
<stddef.h> before any headers from that library.
- Install info version of ledger documentation instead of the original
texinfo sources
- Install html version of ledger documentation when BUILD_WEB_DOCS is ON
- Enable installation of documentation files from --output directory
The default texinfo (4.8) on Mac OS X shows odd warnings from a sed call
and generates verbatim html tags in links if the part of the link was
marked with @command{}.
With a current version of texinfo (5.2) these oddities are gone.
[ci skip]
the year field in dates is sort-of optional, given "year" or "Y"
directives. Make the date regex understand this. (This has been lightly
tested with C-c C-a, but the rest of the uses of ledger-iso-date-regex
have only been eyeballed, not properly audited or tested)
When the right place to add a transaction is after all existing
transactions, add it just after the last transaction rather than at the
end of the buffer. (Otherwise the transactions get added after Local
Variables blocks and any other endmatter.)
- Install and use GNU GCC 4.8 to support required C++11 standard
- Build Boost (1.55.0) libraries needed by ledger
- Export build and cmake variables to find locally built Boost
sha1.cc is not redistributable by Debian because the license doesn't
permit redistribution of modified versions.
This isn't ideal since the ::details namespace is subject to change,
but it avoids adding a dependency to ledger.