To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3860
3859  |  3861
Subject: 
crosscompiler does not compile arrays of objects
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 30 Dec 2004 18:29:18 GMT
Viewed: 
7030 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR