[Lazarus] Cross Platform SQL Client/Editor

patspiper patspiper at gmail.com
Wed Jan 6 11:20:48 CET 2016


On 03/01/16 19:15, Michael Van Canneyt wrote:
>
>
> 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 ?
As your fix (commit 32843) shows, the inclusion stems from the following 
line where DatadictOSes is not intersected with MSSQLOSes

Stephano




More information about the Lazarus mailing list