This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
64 bit support of va_ makros
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: 64 bit support of va_ makros
- From: "Lagler, Markus" <lagler at omnisec dot ch>
- Date: Mon, 23 Jul 2001 14:07:43 +0100
Hi
I experienced trouble using the va_ makros with 64 bit values. As long as
the 64 bit are aligned, e.g. 32 bit, 32 bit and then 64 bit everything seems
to work, but when I try to pass a 32 bit and then a 64 bit value the return
value of the va_arg function is incorrect. The alignment seems to be off.
I'm using gcc cygnus-2.7.2-960126 for PowerPC.
Does anybody know about this problem? Can anybody help me?
I hope this has not been discussed previously, I couldn't find anything in
the archives.
Regards
Markus