Floating-point formats contain formatting information that is used to manipulate floating-point numbers in certain runtime library functions, such as scanf() and atof(). Typically, you should avoid linking the floating-point formats (which take up about 1K) unless they are required by your application. However, you must explicitly link the floating-point formats for programs that manipulate fields in a limited and specific way.
Refer to the following list of potential causes (listed from most common to least common) to determine how to resolve this error:
extern _floatconvert; #pragma extref _floatconvert
CAUSE: You forgot to put the address operator & on the scanf variable expression. For example:
float foo;
scanf("%f", foo);
FIX: Change the code so that the & operator is used where needed. For example, change the above code to the following:
float foo;
scanf("%f", &foo);
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|