foxabilo
Joined: 26 Aug 2011 Posts: 3 Location: United Kingdom
|
2 CCS's 2 different outcomes :S |
Posted: Fri Aug 26, 2011 12:39 pm |
|
|
Hi,
I have CCS on my work machine and on my home machine, both are 4.124.
One machine is Windows 7 and the other is XP Pro.
On my windows 7 home machine I can compile
Code: |
void Draw_Screen(int options, char *s1,*s2,*s3)
{
empty_screen();
}
void main()
{
draw_screen(MENU,"STOP","---","---");
}
|
All is fine, runs like a dream, used that method for ages.
On the XP machine, same code, same compiler, same command line options fails with "cannot make a pointer to a constant" on the call to draw_screen
:S what the heck am I doing wrong?
PS both are being called from MPLAB 8.73 same options
I seem to recall an option that could be set to enable strings to be passed in functions but can't for the life of me find it now, I am guessing one has that option and one not. |
|