Open GoogleCodeExporter opened 8 years ago
BTW, same warning for designtime package too:
[DCC Warning] dwsLibDesignOnly.dpk(90): W1033 Unit 'dwsResultFunctions'
implicitly imported into package 'dwsLibDesignOnly'
Original comment by ain.val...@gmail.com
on 29 Sep 2013 at 2:45
With revision 2326
Building dwsLibRuntime.dproj (Debug configuration)
[DCC Warning] dwsLibRuntime.dpk(87): W1033 Unit 'dwsResultFunctions' implicitly
imported into package 'dwsLibRuntime'
[DCC Warning] dwsLibRuntime.dpk(87): W1029 Duplicate constructor
'TAutoStrings.CreateClone' with identical parameters will be inacessible from
C++
[DCC Warning] W1029 Duplicate constructor 'TAutoStrings.CreateClone' with
identical parameters will be inacessible from C++
Original comment by ain.val...@gmail.com
on 12 Nov 2013 at 4:21
In general it should be possible to hide the latter warning with:
{$WARN DUPLICATE_CTOR_DTOR OFF}
However, it doesn't seem to be working as expected (still showing the warning)
Even disabling this warning globally doesn't seem to make a difference. At
least not with Delphi XE2.
Original comment by CWBudde
on 7 Aug 2014 at 9:30
Adding this directive to the dproj file worked in D2010, ie
package dwsLibRuntime;
...
{$RUNONLY}
{$IMPLICITBUILD OFF}
{$WARN DUPLICATE_CTOR_DTOR OFF}
requires
vcl,
rtl;
...
and it compiles without warnings. Adding it at the top of the dwsUtils unit
(where the TAutoStrings is defined) doesn't work (still get warning). It is
known issue, see http://qc.embarcadero.com/wc/qcmain.aspx?d=100815
Original comment by ain.val...@gmail.com
on 7 Aug 2014 at 1:18
Original issue reported on code.google.com by
ain.val...@gmail.com
on 29 Sep 2013 at 2:43