[Lazarus] Cross Platform SQL Client/Editor

Michael Van Canneyt michael at freepascal.org
Sun Jan 3 18:15:06 CET 2016



On Sun, 3 Jan 2016, patspiper wrote:

> On 03/01/16 17:44, Michael Van Canneyt wrote:
>> 
>> 
>> On Sun, 3 Jan 2016, patspiper wrote:
>> 
>>> On 02/01/16 19:06, Michael Van Canneyt wrote:
>>>> 
>>>> 
>>>> On Sat, 2 Jan 2016, Anthony Walter wrote:
>>>> 
>>>>> Michael,
>>>>> 
>>>>> Just FYI currently there is no "fpddmssql.pp" (the dd is for data
>>>>> dictionary I suppose) so no, it's not as easy as just adding a unit name 
>>>>> to
>>>>> the project source. New units must be created and a register function 
>>>>> must
>>>>> be create for mssql to appear in the connections list.
>>>> 
>>>> I have just committed initial support for this.
>>> 
>>> FPC trunk for WinCE fails to build now:
>>> Compiling ./fcl-db/src/datadict/fpddmssql.pp
>>> fpddmssql.pp(52,6) Fatal: Can't find unit mssqlconn used by fpddmssql
>>> Fatal: Compilation aborted
>>> 
>>> Shall I submit a bug report?
>> 
>> Please do.
>
> http://bugs.freepascal.org/view.php?id=29319

You must have a nonstandard system somehow ?

T:=P.Targets.AddUnit('fpddmssql.pp', DatadictOSes*MSSQLOSes);
with T.Dependencies do
   begin
   AddUnit('sqldb');
   AddUnit('fpdatadict');
   AddUnit('fpddsqldb');
   AddUnit('mssqlconn');
end;

Unless there is a compiler error, DatadictOSes*MSSQLOSes should not contain WinCE, since wince is not in
MSSQLOSes, hence fpddmssql.pp must not be compiled at all ?

Michael.




More information about the Lazarus mailing list