Bug description:
A string can be declared as follows:
char* MyString = "Contents of string"
Missing of the '*' either causes the compiler to crash or mess-up some way.
Steps to reproduce:
Attempt to compile the following code (in a file "bug.c"):
#include <system.h>
void main() {
char* String1 = "I will compile!";
char String2 = "I upset the compiler!";
while(true) {
nop();
}
}
Doing so will produce the following output:
BoostC Optimizing C Compiler Version 1.9.3 Beta (for PIC16 architecture)
http://www.picant.com/c2c/c.html
Copyright(C) 2004-