Magic trick to make sure the library is called for shared memory. More...
#include "../../include/ecl/ipc/shared_memory_pos.hpp"
Go to the source code of this file.
Magic trick to make sure the library is called for shared memory.
If using --as-needed and shared memory objects, this library will often not get called (as the shared memory class is 100% headers). This will result in sometimes (if nothing else calls it) -lrt not being called and ultimately you will get undefined references to shm_unlink and co.
This is some magic to make sure that you always bring in the library when using the shared memory class.
Definition in file shared_memory_pos.cpp.