linajiang / lightweight-java-profiler

Automatically exported from code.google.com/p/lightweight-java-profiler
Apache License 2.0
0 stars 0 forks source link

build error on Ubuntu 13.10 (Saucy) #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago
Also see this on Ubuntu 14.04 (Trusty)

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

GoogleCodeExporter commented 8 years ago
thanks.  Also for debian 7.4

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