comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: collect2: ld returned 1 exit status
Date: Fri, 16 Aug 2013 08:55:26 +0200
Date: 2013-08-16T08:55:26+02:00	[thread overview]
Message-ID: <cg6392vrop8u$.1qyufz07o0hld$.dlg@40tude.net> (raw)
In-Reply-To: e505619b-4898-46bb-bafc-59a577b4ae32@googlegroups.com

On Thu, 15 Aug 2013 19:38:11 -0700 (PDT), Dwiki wrote:

> Dmitry, i think i dont understand the page :(
> for example with this section 
> Changes in SQL Data Types
> #ifdef WIN32
> typedef SQLULEN SQLROWCOUNT;
> typedef SQLULEN SQLROWSETSIZE;
> typedef SQLULEN SQLTRANSID;
> typedef SQLLEN SQLROWOFFSET;
> #endif
> 
> what should i do then in my ADA code?

You look where old API used for example SQLROWCOUNT and replace it with
SQLULEN.

> ive been searching similar code in
> GNADE but i cant, do you have another clue?

You should go through the list of all types and all functions from the
document and verify their GNADE ODBC counterparts. You should use 64-bit
integers fro SQLLEN for 64-bit applications and 32-bit for 32-bit
applications.

Yes, it is a lot of work, 100% code review + much testing afterwards.

> FYI, there is warning 
> "warning: no compiler specified for language 'Gesql', ignoring all its sources Builder"
> can i just ignore it?

Probably yes, it looks like from the project file, something for embedded
SQL support.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

      reply	other threads:[~2013-08-16  6:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 10:22 collect2: ld returned 1 exit status Dwiki
2013-08-15 12:27 ` Dmitry A. Kazakov
2013-08-16  2:38   ` Dwiki
2013-08-16  6:55     ` Dmitry A. Kazakov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox