Skip to content

Compile error with gcc 4.7.2 #4

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions