This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inyone know what inadru is?
- To: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: Inyone know what inadru is?
- From: "Steven W. Orr" <steveo at world dot std dot com>
- Date: Sat, 18 Sep 1999 21:41:48 -0400 (EDT)
- cc: gcc at gcc dot gnu dot org
- Reply-To: steveo at world dot std dot com
Thanks to everyone in advance. I found out what my problem is:
The item being passed is an INtegerADdRessUnion. To make it work (mre
silentlier), I need to change
printf ( "%d", u );
to
printf ( "%d", *(int *)&u );
--
-Time flies like the wind. Fruit flies like a banana. steveo@world.std.com-
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
-------divided by zero. Listen to me! We are all individuals!---------
On Sat, 18 Sep 1999, Martin v. Loewis wrote:
=>> Integer format, inadru argument.
=>>
=>> Anyone know who inadru is?
=>
=>No idea. Could be a bug in gcc, could be a bug in your code. Why don't
=>just send the preprocessed source so we can investigate? I could
=>reproducate a similar message from
=>
=>#include <stdio.h>
=>
=>struct inadru{
=> int i;
=>} k;
=>
=>int main()
=>{
=> printf("%i\n",k);
=>}
=>
=>gcc 2.95.1 -Wall says
=>
=>a.c:9: warning: int format, inadru arg (arg 2)
=>
=>which is almost like what you've got.
=>
=>Regards,
=>Martin
=>