#4017 - ZhouChang - Sun Mar 16, 2003 8:17 am
Hello all,
I use devkitadv tool chains to compile my code.When i add a
static unsigned short var in my c function. Then my code will not work.
I have defined __MultiBootInclude and MUTILBOOT in my files.
If i remove these , then it works.
I don't know why? Is it a word aligment problem?
for example:
I use devkitadv tool chains to compile my code.When i add a
static unsigned short var in my c function. Then my code will not work.
I have defined __MultiBootInclude and MUTILBOOT in my files.
If i remove these , then it works.
I don't know why? Is it a word aligment problem?
for example:
Code: |
// unsigned short color; static unsigned short color;//the program will not work using static!! .... |