This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi,
I'm porting an application from AIX/xlC to Linux/g++.
I'm using egcs-1.0.2 and am having problems compiling some functions
which allow class objects to be passed as variable # of arguments (...).
I get the following compile warning:
warning: cannot pass objects of type `XXX' through `...'
where XXX is my class type.
Is this something that is allowed in a newer version of egcs or is there
some command line option I can specify to allow this to work?
I realize I can use function overloading to get around this but in my
case where different objects types may be passed, it would get real ugly.
I notice it is just a warning. Does the compiler still correctly place
the entire object on the stack?
Any help greatly appreciated!
Thanks,
Doug Sprague