← Back to team overview

kicad-developers team mailing list archive

Re: Build failure w.r.t. wxDateTime

 

Hi Thomas-

Your analysis is correct.  m_LastEditTime was recently changed to
timestamp_t but holds time_t information and (for now) can be safely cast.

I've pushed an update, let me know if it's still problematic.

-S

(Sorry for the double-email.)

2018-03-29 9:14 GMT-07:00 Thomas Figueroa <tom_figueroa@xxxxxxxxxxx>:

> I recently started getting a “Call of overloaded
> 'wxDateTime(timestamp_t&)' is ambiguous” compilation failure
>
> in class_module.cpp line 573. I modified it to static_cast<time_t>
> m_LastEditTime, but I’m not sure that is
>
> what is intended here. This occurs both on MSVC and MSYS2 builds.
>
> (MSYS2 build here: http://darine.hogyros.de:8080/
> job/windows-kicad-msys2/244/)
>
>
>
> Thomas
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

References