freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Stuart Henderson <stu AT spacehopper.org>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] sqsh build fails with FreeTDS 1.0
- Date: Tue, 28 Jun 2016 21:19:52 +0000 (UTC)
sqsh build is failing with newer FreeTDS. There's an easily fixed
CS_TDS_80 that can be replaced with CS_TDS_71, but when that's done
I run into this in src/dsp_conv.c:
/*
* Take the existing format and strip it down according to the
* type of date that we are processing and replace the ms
* field if it exists.
*/
#if defined(CS_BIGDATETIME_TYPE) && defined(CS_BIGTIME_TYPE)
if (dt_fmt->datatype == CS_BIGDATETIME_TYPE || dt_fmt->datatype ==
CS_BIGTIME_TYPE)
fmt = dsp_datetime_strip( dt_fmt->datatype, conv_fmt, (int)
dr.datesecfrac );
else
#endif
fmt = dsp_datetime_strip( dt_fmt->datatype, conv_fmt, (int)
dr.datemsecond );
- CS_BIGDATETIME_TYPE etc are now defined, but the structure
doesn't include datesecfrac:
dsp_conv.c: In function 'dsp_datetime_conv':
dsp_conv.c:665: error: 'CS_DATEREC' has no member named 'datesecfrac'
Any suggestions for a better fix than just #if 0'ing it out?
Thanks.
-
[freetds] sqsh build fails with FreeTDS 1.0,
Stuart Henderson, 06/28/2016
-
Re: [freetds] sqsh build fails with FreeTDS 1.0,
Igor Korot, 06/29/2016
- Re: [freetds] sqsh build fails with FreeTDS 1.0, Stuart Henderson, 06/30/2016
- Re: [freetds] sqsh build fails with FreeTDS 1.0, Merle Reinhart, 06/29/2016
-
Re: [freetds] sqsh build fails with FreeTDS 1.0,
Igor Korot, 06/29/2016
Archive powered by MHonArc 2.6.24.