This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cross-Compiler doesn't compile array of objects


 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. 
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]