Skip to Content.
Sympa Menu

freetds - FreeTDS + Solaris7 on Ultra Sparc + Sun Pro C compiler + mssql7

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Justin Cragin" <beyond AT edgemail.com>
  • To: freetds
  • Subject: FreeTDS + Solaris7 on Ultra Sparc + Sun Pro C compiler + mssql7
  • Date: Wed, 28 Jun 2000 18:4:37


I was having a problem trying to get tds on solaris7 with mssql7 the
symptoms of which seemd to be it though that two rows were returned when
only one was.
Which cause libct to segfault in _ct_bind_data() on the second loop I
worked around this by changing

for (i=0; i < resinfo->num_cols; i++)
to
for (i=0; i < (resinfo->num_cols - 1); i++)

This seems dirty to me and seems likly to break if I ever do return more
than one row.. Fortuanatly my app does not need that right now.


And also the sun pro c copiler gives lots of warnings about paramater
mismatches where a uchar is passed and a char is expected and vice versa, I
am willing to fix all of these, if I do should I just send a diff?

And one other the sun make/pro c dont understand the directive in the
makefile
-Wp,-DM,.deps/(*F).pp
I have a vauge idea what these do, but I had to remove them to get it to
compile.


Thanks
Justin Cragin



  • FreeTDS + Solaris7 on Ultra Sparc + Sun Pro C compiler + mssql7, Justin Cragin, 01/29/2024

Archive powered by MHonArc 2.6.24.

Top of Page