Winpcap MinGW compile error?

You can replace your localtime_s call with.

You can replace your localtime_s call with: localtime_r(&local_tv_sec, <ime); (Note the swapped arguments. ) Also, replace your scanf_s call with scanf. Localtime_s() and scanf_s() are Microsoft-specific extensions, and are not available in MinGW.

I get the same error with localtime_r but I used localtime instead this way ltime = localtime(&local_tv_sec); and it works. – Petr Peller Feb 18 '10 at 10:25 Yeah, looks like localtime_r is not available in MinGW. If you're not concerned about thread-safety, then replacing it with an appropriate localtime call as you did is fine.

– Alok Feb 18 '10 at 10:36 Also, I am assuming you changed the type of ltime to be a pointer. – Alok Feb 18 '10 at 10:37 Indeed. Thanks for help.

– Petr Peller Feb 18 '10 at 11:54.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions