www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Bemused by this build error

reply Bob Cowdery <bob bobcowdery.plus.com> writes:
Hi

I copied a module because I am changing its form. The original is still
in the build but is a different package and class name. The closest
thing I can think it might be talking about is this line:

x_points[] =
(x_average[0][]+x_average[1][]+x_average[2][]+x_average[3][]+x_average[4][]+x_average[5][]+x_average[6][]+x_average[7][]+x_average[8][]+x_average[9][])/10;

I changed the name and it made no difference. How does one diagnose this
kind of problem?

bob

-------------- Build: Debug in DcSdr ---------------

Compiling: SdrMain\main.d
Compiling: Web\Server\ws\ws.d
Compiling: Web\Server\ws\wsgui.d
Linking console executable: bin\Debug\DcSdr.exe
OPTLINK (R) for Win32  Release 8.00.7
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
obj\Debug\Web\Server\ws\pandata.obj(pandata)  Offset 0DFF9H Record Type
00C3
 Error 1: Previous Definition Different :
__arraySliceSliceAddSliceAddSliceAddSliceAddSliceAddSliceAddSliceAddSliceAddSliceAddExpDivSliceAssign_f
--- errorlevel 1
Process terminated with status 1 (0 minutes, 1 seconds)
1 errors, 0 warnings
Nov 14 2010
parent torhu <no spam.invalid> writes:
On 14.11.2010 20:26, Bob Cowdery wrote:
 Hi

 I copied a module because I am changing its form. The original is still
 in the build but is a different package and class name. The closest
 thing I can think it might be talking about is this line:

 x_points[] =
 (x_average[0][]+x_average[1][]+x_average[2][]+x_average[3][]+x_average[4][]+x_average[5][]+x_average[6][]+x_average[7][]+x_average[8][]+x_average[9][])/10;

 I changed the name and it made no difference. How does one diagnose this
 kind of problem?

Did you try doing a complete rebuild?
Nov 18 2010