Skip to Content.
Sympa Menu

freetds - Re: error handling

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Bob Kline <bkline AT rksystems.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: error handling
  • Date: Mon, 24 Jan 2000 11:06:07 -0500 (EST)


On Mon, 24 Jan 2000, Geoff Winkless wrote:

>
> GRRRRRR.
>
> I hate C :(
>
> No extern definition of g_tds_err_handler in read.c, so when I
> called it it got thoroughly confused.
>
> No bloody error messages, no warnings, no nothing.
>
> Apologies for wasting the list's time, believe me it's nothing like
> the amount of time I've wasted on this damn thing :(

That's not a problem with C. That's just the default behavior of your
particular compiler. I haven't seen a C compiler in more than twenty
years which didn't have an option available for cranking up the warning
level (and of course some have a warning level sufficiently high to
catch this problem as the default). Can't tell from your message which
compiler you're using, so I'll assume gcc, in which case you'll get all
the warnings you want with -Wall.

--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com





Archive powered by MHonArc 2.6.24.

Top of Page