just for fun I put together some code to use the extended precision of libm, I declared constructors in the type definition but forgot to implement one of the constructors.
some tests compiled and run ok without warning until I tried to run a larger example where the constructor was called, I got this message
Code: Select all
Undefined symbols for architecture x86_64:
"__ZN11CLONGDOUBLEC1Ed", referenced from:
_main in example.o
ld: symbol(s) not found for architecture x86_64
it would be nice to receive a warning of the missing constructor.