]> https://gitweb.dealii.org/ - dealii.git/commit
Making the next_free_pair_object and next_free_single_object as inline functions. 192/head
authorVijay Mahadevan <vijay.m@gmail.com>
Thu, 9 Oct 2014 16:47:34 +0000 (11:47 -0500)
committerVijay Mahadevan <vijay.m@gmail.com>
Thu, 9 Oct 2014 16:47:34 +0000 (11:47 -0500)
commit1d327fd1dcd34023a3d5bb2c0ee7524593d44015
tree4550cd609b7b24ed04f72073568656cb70224879
parentecb68c064ff3d326f4f85a5500050aa0979c0fb2
Making the next_free_pair_object and next_free_single_object as inline functions.
Also contains a patch from Wolfgang with changes to the instantiation file.

Background: In release mode, GNU-4.8.x (OSX) seem to optimize away the calls when
specializing the template functions and then symbol definitions seem to be different
between debug and optimized modes. This causes undefined linkage for release mode.

References:
[1] https://groups.google.com/forum/#!topic/dealii/c2qjAsuJ7Mc
[2] https://code.google.com/p/dealii/issues/detail?id=137
[3] https://groups.google.com/forum/#!msg/dealii/6RXRR-iac0Y/Tjzwg1rFRMQJ
include/deal.II/grid/tria_objects.h
source/grid/tria_objects.cc
source/grid/tria_objects.inst.in

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.