#1 2017-09-07 09:05:47

linbren
Member
Registered: 2017-08-11
Posts: 42

[dcc32 Warning] W1029 Duplicate constructor

[dcc32 Warning] W1029 Duplicate constructor 'ESynException.CreateLastOSError' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSQLRecord.CreateAndFillPrepare' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSQLRecord.CreateAndFillPrepareJoined' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSQLRecord.CreateAndFillPrepareMany' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSynSQLTableDataSet.CreateOwnedTable' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'ESynException.CreateLastOSError' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSQLRecord.CreateAndFillPrepare' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSQLRecord.CreateAndFillPrepareJoined' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSQLRecord.CreateAndFillPrepareMany' with identical parameters will be inacessible from C++
[dcc32 Warning] W1029 Duplicate constructor 'TSynSQLTableDataSet.CreateOwnedTable' with identical parameters will be inacessible from C++

such Warnings were appeared , how to avoid them ?


Windows 7 64bit. Delphi XE10.2 Professional.

Offline

#2 2017-09-07 09:20:36

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,275
Website

Re: [dcc32 Warning] W1029 Duplicate constructor

You may have searched for W1029 in the forum first...
And found https://synopse.info/forum/viewtopic.php?id=2627

Just include

 {$I Synopse.inc}

inside the client .dpr file, or at least

{$warn DUPLICATE_CTOR_DTOR OFF} // avoid W1029 unneeded hints

Online

Board footer

Powered by FluxBB