Hallo, All!
These days I have migrated to newer Keil IDE version and found my older C++ project can not be compiled anymore. The IDE is installed and licenced correctly. If I return back to older version, everything is being compiled just perfectly.
Can anybody say what is wrong with my configuration (I reuse the same project) or with latest Keil version:
IDE-Version: µVision3 V3.53 Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2007 Tool Version Numbers: EC++ Compiler: EC166.Exe V1.09b C Compiler: C166.Exe V6.09a Assembler: A166.Exe V5.30 Linker/Locator: L166.Exe V5.22 Librarian: LIB166.Exe V4.26 Hex Converter: OH166.Exe V4.7a CPU DLL: S166.DLL V2.54 Dialog DLL: D167.DLL V2.48a Target DLL: MONITOR\MON166.DLL V2.42 Dialog DLL: T167.DLL V2.48
This tool-chain refuses to compile the source code (C++) containing expressions like:
... return static_cast <unsigned int> (myVar); ...
saying
error: Embedded C++ does not support the new cast syntax
THIS IS STRANGE since I used to use older version of Keil:
IDE-Version: µVision3 V3.21 Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2005 Tool Version Numbers: EC++ Compiler: EC166.Exe V1.09 C Compiler: C166.Exe V6.02 Assembler: A166.Exe V5.20 Linker/Locator: L166.Exe V5.21 Librarian: LIB166.Exe V4.26 Hex Converter: OH166.Exe V4.7a CPU DLL: S166.DLL V2.49 Dialog DLL: D167.DLL V2.45 Target DLL: MONITOR\MON166.DLL V2.41 Dialog DLL: T167.DLL V2.45
which has no problem when compiling the project.
What am I missing?
Thanks, Nikolay.