swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Redeclared variable error


From: CUVELIER Bruno -
Subject: Redeclared variable error
Date: Fri, 31 Jan 1997 09:30:17 +0100

Hi all,

I've redeclared a variable by mistake

DensitySpace.h
--------------
@interface DensitySpace : Discrete2d {
  Density maxDensity;
  int neighborhood;
}

DensitySpace.m
--------------
Density maxDensity= 9;

@implementation DensitySpace
[...]
@end

The compiler detect any error ! During the execution (DensitySpace == 0) !

Why the error is not detect ?

-- 
------------------------------------------
Bruno CUVELIER
email: address@hidden
       address@hidden
http://www.univ-littoral.fr/~cuvelier

Universite du Littoral
Laboratore d'Informatique du Littoral (LIL)
BP 719
62228 Calais Cedex
France
------------------------------------------


reply via email to

[Prev in Thread] Current Thread [Next in Thread]