Subject:
|
Re: Having trouble with -D option
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Sat, 12 Feb 2000 19:51:14 GMT
|
Viewed:
|
1958 times
|
| |
| |
One other thing ... when I first made a simple program to demonstrate
the problem, I used a lowercase d for my symbol and got this error:
# Error: parse error
File "rcx.nqh" ; line 118
# void SetDirection(const int o, const int d) { asm { 0xe1, (o) +
(d) }; }
# ^
#----------------------------------------------------------
# 1 error during compilation
You might want to use more obscure variable names in your header
files, say '__d__' or somesuch.
--
Mark Haye, haye (at) us (dot) ibm (dot) com
IBM TSM Server Development, Tucson, AZ
Dave Baum <dbaum@spambgoneenteract.com> wrote in message
news:dbaum-1DBD80.21230210022000@lugnet.com...
> You found a bug - NQC is actually defining D to be the tokens =1, which ...
> reply to: dbaum at enteract dot com
|
|
Message is in Reply To:
| | Re: Having trouble with -D option
|
| You found a bug - NQC is actually defining D to be the tokens =1, which then leads to a lot of confusion later on. Basically I bungled the pointer math. I fixed the source so the next release (2.1 final) should be fine. I'll probably release 2.1 in (...) (25 years ago, 11-Feb-00, to lugnet.robotics.rcx.nqc)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|