Re: Cross compilation, warnings and errors

Luis Lavena <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Sat, Jan 22, 2011 at 4:26 PM, James K. Lowden <[email protected]> wrote:
>

Hello James

> If memory serves, LPCBYTE is defined in windows.h.  It's not used by FreeTDS, but is provided in the Microsoft-compatible header file, sqlfront.h for use by applications.  The versions of winscard.h I found on the 'net that define LPCBYTE looked very similar to what's in sqlfront.h, though, so it's hard to see exactly what gcc is complaining about.
>

Actually what GCC is telling me is that sqlfront.h redefines LPCBYTE,
and that previous definition was already in MinGW headers (winscard.h)
and sqlfront.h is been required by bsqldb.c

Also, what about the configure warning?

> If I were you, I'd look into why the "TiniTDS" project includes winscard.h, which supports smartcards.  FreeTDS certainly doesn't need it.  If your aim is cross-compilation, minimizing your include file dependencies will make your job easier.
>

I haven't arrived yet to deal with TinyTDS, I'm trying to compile
FreeTDS first :-)

> Also, unless you absolutely require Microsoft compatibility, I recommend using the Sybase(-standard) sybfront.h and sybdb.h instead.
>

Perhaps I'm not following you, but the idea of using FreeTDS is to be
able to connect with MSSQL :-)

>> On a sidenote, I was unable to find a bug tracker to report this issue
>> (direct link form the website) or source code checkout instructions
>> either.
>
> There is a link under "Developing" at www.freetds.org to the Sourceforge site.  Near the top of that page is a "Tracker" link.  I find issues easier to resolve here on the mailing list, though, where we can discuss the details.
>

Thank you.

Can you also point me to the canonical repository? AFAIK the Git
(GitHub) mirror is out of date.

Regards,
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.