Polygraph compilation error with gcc 4.8.2

Dale Markowitz damarkowitz at gmail.com
Mon Jul 7 20:04:57 UTC 2014


Hi All,
   I'm trying to install Polygraph 4.3.2 on a Linux box running Fedora 19
with gcc version 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC).  The compilation
fails with the error:

g++ -DHAVE_CONFIG_H   -I../.. -I../../src -I../.. -I../../src -fpermissive
-I/usr/include  -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT
StatPhase.o -MD -MP -MF .deps/StatPhase.Tpo -c -o StatPhase.o StatPhase.cc
StatPhase.cc: In member function 'virtual void
StatPhase::noteXactEvent(BcastChannel*, const Xaction*)':
StatPhase.cc:416:29: error: redeclaration of 'CompoundXactInfo& compound'
    static CompoundXactInfo &compound = *CompoundXactInfo::Create();
                             ^
StatPhase.cc:390:37: error: 'const CompoundXactInfo* const compound'
previously declared here
   if (const CompoundXactInfo* const compound = x->partOf()) {
                                     ^
make[3]: *** [StatPhase.o] Error 1

This seems like it might have to do with my version of gcc, but I'm not
sure. Any thoughts?

Thanks!
   Dale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.web-polygraph.org/pipermail/users/attachments/20140707/3096134d/attachment.html>


More information about the Users mailing list