Skip to Content.
Sympa Menu

freetds - Re: compile problems and warnings

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: compile problems and warnings
  • Date: 05 Nov 2002 09:15:17 +0100


Il mar, 2002-11-05 alle 03:36, Mark J. Lilback ha scritto:
> I'm working on updating my code to use the current version of freetds
> and here are a few issues I saw with getting a straight compile
> working.
>
>
> Both tds/token.c and tds/mem.c define align_struct symbols, which
> breaks freetds on Mac OS X where duplicate symbol names are not
> allowed. Defining one of them to be extern solves the problem.
>
> freddy, any particular reason you didn't do this? Would adding the
> extern cause a problem for other platforms?
>


Thanks for spotting this problem. My first idea was define this as a
type declaration, not a variable declaration, I fixed and moved this
stuff in tds.h.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page