gtrsk / or-tools

Automatically exported from code.google.com/p/or-tools
0 stars 0 forks source link

error in make csharpexe - dirty fix #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
During run of "make csharpexe" the compiler complained on line 93 in 
"adjustable_priority_queue.h":

const vector<T*>* Raw() const { return &elems_; }

Changing to 
std::vector<T*>* Raw() const { return &elems_; }
resolved the build errors (even if I'm not sure this reflects your full intent)

My revision of Google Or-tools is: 2932
My operating system is Windows 7, and I compile on Visual Studio 2012 64bit.

Original issue reported on code.google.com by johan.lu...@gmail.com on 4 Nov 2013 at 6:50

GoogleCodeExporter commented 9 years ago
The error message was:
error C2143: syntax error : missing ';' before '<'
error C2334: unexpected token(s) preceding ä{'; skipping aparent function body

The file lies lies in scr/base

Original comment by johan.lu...@gmail.com on 4 Nov 2013 at 6:55

GoogleCodeExporter commented 9 years ago
Thanks.
The fix is correct. I pushed it.

Original comment by lper...@google.com on 5 Nov 2013 at 12:07