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]

Re: Inyone know what inadru is?


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
=>


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