Subject:
|
nqc compilation errors
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Sun, 14 Jan 2007 13:13:16 GMT
|
Viewed:
|
11192 times
|
| |
| |
Background:
> nqc -v
nqc version 3.1 r4 (built Jan 12 2007, 19:11:18)
Copyright (C) 2005 John Hansen. All Rights Reserved.
Usage error: try 'nqc -help' to display options
> uname -a
Linux eip 2.6.17-10-386 #2 Fri Oct 13 18:41:40 UTC 2006 i686 GNU/Linux
Problem:
> cat ./error.nqc
task main()
{
int x;
int* y=&x;
*y=x;
int vek[9];
}
> nqc error.nqc
# Error: RCX does not support indirect variables
File "error.nqc" ; line 5
# *y=x;
# ^
#----------------------------------------------------------
# Error: RCX does not support arrays
File "error.nqc" ; line 6
# int vek[9];
# ^^^
#----------------------------------------------------------
# 2 errors during compilation
both support for indirect variables and arrays is specified in
http://bricxcc.sourceforge.net/nqc/doc/NQC_Guide.pdf page 11 and 15
so.. whats the problem?
|
|
Message has 1 Reply:
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|