Hi All: Compiler Error C2182
Error Message
'identifier' : illegal use of type 'void'
A variable is declared type void.
The following sample generates C2182:
void typetest;
error C2182: 'typetest' : illegal use of type 'void'
does it mean 'void type' is not supproted?
What should I do?
[366 byte] By [
tiplip] at [2007-11-20 10:47:00]

# 1 Re: Hi All: Compiler Error C2182
1.) What's your development tools ? (VC++ or others??)
2.) Pls. attach your code snippet ??
# 2 Re: Hi All: Compiler Error C2182
No, it's illegal. What could you do with such a declaration?
GCDEF at 2007-11-10 22:29:42 >

# 3 Re: Hi All: Compiler Error C2182
Yes, its illegal, I find this code in my project developed on ARM platform;
my collegue tells me its invalid code
Thanks all
tiplip at 2007-11-10 22:30:45 >
