Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/23/02 04:49
Read: times


 
#31253 - [C51]Problem "Ilegal pointer conversion"
[C51]Problem "Illegal pointer conversion"!

hi all, i have two unit : unit1.c and unit2.c

in unit1.c :
xdata char str1 [8];


in unit 2.c :

#include <stdlib.h>

extern char str1;

void func (){
int a;
a = atoi(str1);
}

why i get "Illegal pointer conversion" ?
why when i move str1 define to unit2 problem reolve ?

List of 11 messages in thread
TopicAuthorDate
[C51]Problem "Ilegal pointer conversion"            01/01/70 00:00      
RE: [C51]Problem "Ilegal pointer convers            01/01/70 00:00      
RE: [C51]Problem steiner            01/01/70 00:00      
RE: [C51]Problem "Ilegal pointer conversion&q            01/01/70 00:00      
RE: [C51]Problem \\\\\\\\            01/01/70 00:00      
RE: Code formatting in posts            01/01/70 00:00      
RE: Code formatting in posts - retry            01/01/70 00:00      
Erroneous External            01/01/70 00:00      
RE: [C51]Problem \            01/01/70 00:00      
thanx Craig Steiner            01/01/70 00:00      
RE: [C51]Problem "Ilegal pointer conversion&q            01/01/70 00:00      

Back to Subject List