michaelandrepearce / alchemy-2

Automatically exported from code.google.com/p/alchemy-2
Other
0 stars 0 forks source link

Compile error with gcc 4.7.2 #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. just run make

What is the expected output? What do you see instead?
../src/liftedinfer/common/src/queryupdater.cpp: In member function ‘void 
LvrQueryUpdater::updateGibbsDontCareRB()’:
../src/liftedinfer/common/src/queryupdater.cpp:511:62: error: taking address of 
temporary [-fpermissive]
make: *** [../bin/obj/queryupdater.o] Error 1

What version of the product are you using? On what operating system?
checkout from today

Please provide any additional information below.
Replacing the line by
rbestimates->incrementValue(keys[i],(new LogDouble(0.5,false)));
compiles fine.

Thank you!

Original issue reported on code.google.com by jinglada...@gmail.com on 1 Oct 2013 at 8:53