mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-15 15:30:34 +05:00
e9eae568ff
Having version.hpp throw an exception when built against a malformed version number (due to, eg, not having the git tag available in an automated package build from source bundle) results in _init_ failing during an otherwise apparently successful dlopen(), as well as the netgen-mesher executable crashing before hitting main(). This patch both forces an abort and prints a helpful message alerting the builder/user that something went wrong instead of handing over either a coredump or a weirdly malfunctioning library with no apparent cause. Hopefully this will avoid a repeat of automated Fedora builds shipping nonfunctional Netgen RPMs for several years! |
||
---|---|---|
.. | ||
core | ||
csg | ||
general | ||
geom2d | ||
gprim | ||
include | ||
interface | ||
linalg | ||
meshing | ||
occ | ||
stlgeom | ||
visualization | ||
CMakeLists.txt |