Scott T. Miller  |  CV  |  Research  |  Software  |  Publications  |  Teaching

S. T. Miller's software
C++ dynamic_cast bug in Mac OS 10.6 Snow Leopard
DynamicCastTest.zip
There is a bug using the C++ dynamic_cast mechanism that first appears in Mac OS 10.6 Snow Leopard. If the dynamic_cast is using in a shared library (*.dylib), it will fail even when used correctly. The fix is to compile and link the shared library with the flag "-mmacosx-version-min=10.4". Alternatively, compiling the shared library with the flag "-Wl,-no_compact_linkedit" seems to fix the problem.
More to come. Other projects include a C++ framework for particle dynamics, a C++ code for exterior algebra and calculus on manifolds, wrapper classes for BLAS/LAPACK functionality, and others.