Already solved this a while ago. think I found the problem, putting this together for you I found it. A bit confused how this happened. Probably one of my kids when I was not looking sorry to waste your time. I will just look up the correct line and fix it sigh oh the problem is - _EXPORT_STD template <class w, class _Duration = typename _Clock::duration> the w should not be there. So a simple typo from my 5yr old touching my keyboard. Thanks for the response