Cross-Compiler doesn't compile array of objects
Dan Kegel
dank@kegel.com
Wed Mar 23 15:32:00 GMT 2005
Annedore RöÃling wrote:
> 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?
Add the missing semicolon?
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list