You are not logged in.
Hi!
When compiling I am getting the following message:
[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 '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++
Success
Elapsed time: 00:00:01.0
But in mormot.pas, where TSQLRecord is declared, I do not see anything wrong
Any idea?
Thanks in advance!
Last edited by Luzcka (2015-06-09 02:12:14)
Offline
Hi!
Yes... I get using TortoiseGit.
git.exe fetch -v --progress "origin"
From https://github.com/synopse/mORMot
= [up to date] master -> origin/master
Success (1045 ms @ 10/06/2015 23:07:59)
Offline
I use
git pull
Offline
Those warnings comes from the fact that the constructor does not have a name in C++, so you need diverse set of parameters for the constructors.
You could ignore those warnings under Delphi.
I'm not able to reproduce the warning.
AFAIR those warning did only appear under Win64 target.
But Synopse.inc did remove them in Synopse.inc:
{$ifdef CPUX64}
{$define CPU64} // Delphi compiler for 64 bit CPU
{$define CPU64DELPHI}
{$undef CPU32}
{$define PUREPASCAL} // no x86 32 bit asm to be used
{$warn DUPLICATE_CTOR_DTOR OFF} // avoid W1029 unneeded hints
{$else CPUX64}
{$define CPU32} // Delphi compiler for 32 bit CPU
{$undef CPU64}
{$endif CPUX64}
Which compiler do you use?
Perhaps this is an issue for some particular revision of it.
May be http://qc.embarcadero.com/wc/qcmain.aspx?d=100815
Please try http://synopse.info/fossil/info/2dd7891b895
Offline
Using Git Pull do not make diference in my case, Thanks for the idea!
But Arnoud show me a light... I revised my code and find the absence of "{$I SynDprUses.inc}" inside the client .dpr file
Thanks!!!!
I am using XE7 Up1 with Windos 7 up1 64bits in a VMWare machine, but the target is 32bits.
Offline