We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When putting the following code into any .c file building the project makes the compiler stop and the process load for the C166.exe process is very high.
void buffer[64]= {"test the flash"};
I am pretty sure that this is a syntax error. However it took me some time to find the errornous line as the compiler was stuck and did not come up with anything.
I am not sure if this is a compiler bug. Could anyone test it?
IDE-Version: µVision V4.00a Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2009 Tool Version Numbers: Toolchain: PK166 Prof. Developers Kit Version: 7.00 Toolchain Path: D:\Keil_c166v7_demo\C166\BIN\ EC++ Compiler: EC166.Exe V1.09d C Compiler: C166.Exe V7.00 Assembler: A166.Exe V5.33 Linker/Locator: L166.Exe V5.25 Librarian: LIB166.Exe V4.26 Hex Converter: OH166.Exe V4.7a CPU DLL: S166.DLL V3.74 Dialog DLL: D167.DLL V2.52 Target DLL: BIN\UL2OCDS.DLL V1.23 Dialog DLL: T167.DLL V2.49
The syntax is incorrect as you stated and it also resulted in c166.exe having a high processing time on my side.
char buffer[64]= {"test the flash"};
results in a compile time for me of a couple of seconds.