This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: va_start behaving strange


Gabor Greif wrote:
In one of my C++ source files I invoke
va_start( args , fmt );
I get an error message:
          __builtin_saveregs not supported by this target

It would be more helpful to have a testcase we can reproduce.


It is wrong to use __builtin_va_start in your program.

I would guess that you are using the wrong stdarg.h file with your program. You have to use the one that comes with the gcc version that you are using. This one should not invoke builtin_saveregs. You may have an old one that does.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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