kam
Joined: 15 Jul 2005 Posts: 59
|
PIC24 - Reproducable compiler crash v4.135 |
Posted: Mon Aug 06, 2012 2:46 pm |
|
|
Hi all,
Okay, trying to debug why I'm getting "issues" using structures, and I came across this crash!
Just the act of compiling caused the compiler v4.135 to crash/lockup/die.
Code: |
#include <24HJ128GP306.h>
#include <stdio.h>
#include <string.h>
#IGNORE_WARNINGS 203
#zero_ram
#FUSES HS
#FUSES NOWDT
#FUSES PR
#use delay(clock=40Mhz, crystal=20Mhz)
// THIS LINE CAUSES A COMPILER CRASH!!!
char *pExternalCommand[] =
{
"AAAA",
"BBBB",
"CCCC",
NULL
};
void main()
{
printf("Sleeping\r\n");
while (1);
}
|
Thoughts?
~Kam |
|