Re: sqsh build fails with FreeTDS 1.0
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CA+FnnTy1sMX82GaPm25D8qZxktZ6LTwEW9c=rAKni5_19gYb5g@mail.gmail.com> |
Hi, Stuart, On Tue, Jun 28, 2016 at 5:19 PM, Stuart Henderson <[email protected]> wrote: > 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: What is you OS? What is you configure line? What is the exact error message you received? Thank you. > > /* > * 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 mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds