Re: struct tm problem

2014-03-05 Thread Corinna Vinschen
On Mar 5 12:35, Corinna Vinschen wrote: > On Mar 5 11:45, Irfan Adilovic wrote: > > On Tue, Mar 4, 2014 at 9:19 AM, Corinna Vinschen wrote: > > > On Mar 3 23:28, Irfan Adilovic wrote: > > >> > tm_gmtoff is not required by the standard: > > >> > http://www.opengroup.org/onlinepubs/009695399/based

Re: struct tm problem

2014-03-05 Thread Corinna Vinschen
On Mar 5 06:52, Eric Blake wrote: > On 03/05/2014 03:45 AM, Irfan Adilovic wrote: > > If it is recognized that the executable was compiled against a > > different sized struct tm, how would you instruct cygwin1.dll code not > > to write to tm_gmtoff? > > Linker magic, the same as how we converted

Re: struct tm problem

2014-03-05 Thread Eric Blake
On 03/05/2014 03:45 AM, Irfan Adilovic wrote: > If it is recognized that the executable was compiled against a > different sized struct tm, how would you instruct cygwin1.dll code not > to write to tm_gmtoff? Linker magic, the same as how we converted to 64-bit stat, and the same as what we will e

Re: struct tm problem

2014-03-05 Thread Corinna Vinschen
On Mar 5 11:45, Irfan Adilovic wrote: > On Tue, Mar 4, 2014 at 9:19 AM, Corinna Vinschen wrote: > > On Mar 3 23:28, Irfan Adilovic wrote: > >> (Please note the date of the quoted emails) > >> > >> On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote: > >> > On Mon, May 23, 2005

Re: struct tm problem

2014-03-05 Thread Irfan Adilovic
On Tue, Mar 4, 2014 at 9:19 AM, Corinna Vinschen wrote: > On Mar 3 23:28, Irfan Adilovic wrote: >> (Please note the date of the quoted emails) >> >> On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote: >> > On Mon, May 23, 2005 at 06:34:21PM +0430, Alireza Ghasemi wrote: >> > >

Re: struct tm problem

2014-03-04 Thread Corinna Vinschen
On Mar 3 23:28, Irfan Adilovic wrote: > (Please note the date of the quoted emails) > > On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote: > > On Mon, May 23, 2005 at 06:34:21PM +0430, Alireza Ghasemi wrote: > > > Hello, > > > I have downloaded some c++ libraries and tried t

Re: struct tm problem

2014-03-03 Thread Irfan Adilovic
(Please note the date of the quoted emails) On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote: > On Mon, May 23, 2005 at 06:34:21PM +0430, Alireza Ghasemi wrote: > > Hello, > > I have downloaded some c++ libraries and tried to download them.But All of > > them give an error l

Re: struct tm problem

2005-05-25 Thread Brian Dessent
Alireza Ghasemi wrote: > (sorry if this is posted twice,I had a problem in my MailBox and I couldn't > get this post and probable Replies) It did come in twice. Read the archives for the replies. > When compiling some network programs I got errors like "arpa/nameser.h:No > such file..." or "rpc

Re: struct tm problem

2005-05-23 Thread Brian Dessent
Alireza Ghasemi wrote: > I have downloaded some c++ libraries and tried to download them.But All of > them give an error like : > "'struct tm' has no member called 'tm_gmtoff'" > (tm is defined as 'time_t t; time(&t);tm* ptm = localtime(&t);') In general you will get much better help if you inden

Re: struct tm problem

2005-05-23 Thread Yitzchak Scott-Thoennes
On Mon, May 23, 2005 at 07:58:01PM -0700, Yitzchak Scott-Thoennes wrote: > tm_gmtoff is not required by the standard: > http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html > > However, it is an extension available in the Olson tzcode, which > cygwin seems to use. Enabling it would

Re: struct tm problem

2005-05-23 Thread Yitzchak Scott-Thoennes
On Mon, May 23, 2005 at 06:34:21PM +0430, Alireza Ghasemi wrote: > Hello, > I have downloaded some c++ libraries and tried to download them.But All of > them give an error like : > "'struct tm' has no member called 'tm_gmtoff'" > (tm is defined as 'time_t t; time(&t);tm* ptm = localtime(&t);') > I