Kaydet (Commit) 2492604c authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Document a bit the Ugly bad and nasty workaround

Somehow, under same circumstances, MSVC creates object code for 2
inlined functions. Nobody here uses them, so simply define them away
so that there be no dupplicate symbols anymore.

The symbols extents and indices come from boost::multi_array.

(cherry picked from commit 5b734c8e)

Change-Id: I7283ecff340d95f16bb3a8d0aae97e166fa5f0e4
üst 7412cb31
...@@ -17,6 +17,13 @@ ...@@ -17,6 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
/* Somehow, under same circumstances, MSVC creates object code for 2
* inlined functions. Nobody here uses them, so simply define them away
* so that there be no dupplicate symbols anymore.
* The symbols "extents" and "indices" come from boost::multi_array.
*/
#ifdef indices #ifdef indices
#undef indices #undef indices
#endif #endif
......
...@@ -17,6 +17,13 @@ ...@@ -17,6 +17,13 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
/* Somehow, under same circumstances, MSVC creates object code for 2
* inlined functions. Nobody here uses them, so simply define them away
* so that there be no dupplicate symbols anymore.
* The symbols "extents" and "indices" come from boost::multi_array.
*/
#ifdef indices #ifdef indices
#undef indices #undef indices
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment