Subject: [boost] boost chrono bad_cast (gcc > 4.9 on Mac)
From: Min Yang Jung (myj_at_[hidden])
Date: 2016-04-30 12:14:55
I was wondering if Boost.Chrono works with gcc > 4.9 on Mac. When system_clock::now() is called, it throws an std::bad_cast exception. The binary from the same code doesnât have the issue if compiled with clang on Mac and gcc > 4.9 on Linux.
The gcc compilers that I use are macport-installed gcc 4.9 and 5.0 (g++-mp-4.9 and g++-mp-5.0) on Mac.
Any help would be appreciated. Thanks.
Min Yang Jung
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk