[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
- To: <xtech>
- Subject: 0 constants
- From: Eric Dean Tribble <tribble>
- Date: Thu, 3 May 90 11:27:33 PDT
I just added a bunch of smalltalk global constants (read "variables")
for zeroz of differrent types. We will have a corresponding set of
global constants in C++, with the appropriate types. This will solve
the almost undetectable overloading errors when you have a function
that overloads on integerVars and Heapers, and you call it with the 0
I threw NULL onto the list because that's how you get a 0 pointer.
The translator will now print a warning if you use a raw '0' in an
expression. Please gradually change all the modules for which you are
responsible to use these constants rather than raw zeros.
Where should these compile time constants go? In the appropriate