Skip to content
Commit 6ad3d1ea authored by Marco Trevisan's avatar Marco Trevisan Committed by Bileto Bot
Browse files

Region: define static const functions returning infinite and empty regions

As per https://gcc.gnu.org/ml/gcc-help/2010-10/msg00255.html we can't define some
static variables as extern and link them statically inside objects.
Otherwise these might be redefined multiple times, allocated mutiple times and
destroyed, again, multiple times causing memory errors. (LP: #1749957, #1750619)

Approved by: Andrea Azzarone
parents 25573ef4 cb7ac912
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