bdn.borland.com

Article #29142: E2257 in QRvDefine.hpp when compiling TRvProject


Question:

I am using the C++ IDE of Kylix 3 and the bundled Rave Reports 4.5 Community Edition. When I try to compile a TRvProject component, I get the following error: [C++ Error] QRvDefine.hpp(147): E2257 , expected
--------------------

The line 147 referenced in QRvDefine.hpp reads: typedef TRaveUnits TRaveUnits;
--------------------

How can this be resolved?
 
Answer:

Line 147 in QRvDefine.hpp is incorrect. This issue can be resolved by correcting it to: typedef double TRaveUnits;
--------------------

Be sure to save the changes to QRvDefine.hpp, and then try compiling again.
 

Last Modified: 30-SEP-02