vschrade/lightweight-java-profiler

build error on Ubuntu 13.10 (Saucy)

GoogleCodeExporter opened this issue · 2 comments

lightweight-java-profiler fails to build on Ubuntu 13.10 (Saucy):

/home/adam/src/lightweight-java-profiler/src/display.cc:23:22: error: invalid 
suffix on literal; C++11 requires a space between literal and identifier 
[-Werror=literal-suffix]
       fprintf(file_, "%"PRIdPTR" ", traces[i].count);

The fix is trivial; patch attached.

Original issue reported on code.google.com by a...@medovina.org on 5 Oct 2013 at 8:46

Attachments:

Also see this on Ubuntu 14.04 (Trusty)

Original comment by craigwblake@gmail.com on 21 Jul 2014 at 1:18

thanks.  Also for debian 7.4

Original comment by ronald.p...@gmail.com on 3 Dec 2014 at 6:22