Subject:
|
crosscompiler does not compile arrays of objects
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 30 Dec 2004 18:29:18 GMT
|
Viewed:
|
7304 times
|
| |
| |
Hello!
I made a cross-compiler with the sources of gcc-3.4.2 and tried to compile this:
Behavior a();
Behavior b()
Behavior behaviors[] = {a,b};
...
Make fails with the error message:
conversion from Behavior()() to non-scalar type Behavior requested.
Isn't it possible to compile an array of objects or what can I do to solve this
problem?
Thanks.
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|