Mailinglist Archive: opensuse-packaging (135 mails)

< Previous Next >
Re: [opensuse-packaging] Re: [opensuse-project] Procinfo and Procinfo-NG
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Thu, 23 Aug 2007 09:26:33 +0200
  • Message-id: <hohcmq3e52.fsf@xxxxxxxxxxxxx>
tabris <tabris@xxxxxxxxxx> writes:

> Cristian Rodriguez wrote:
>> tabris escribió:
>>   
>>> So I'll be looking into those when I get a chance.
>>>     
>>
>> good, then we can continue discussion on the opensuse-packaging list, we
>> are offtopic here in -project. ;-)
>>   
> Ok, I applied the patch provided to my SVN repo
> http://svn.tabris.net/repos/procinfo-ng/ to trunk/


> As to the warnings, they look bogus to me.

> I'm using int64_t and uint64_t. It looks like to be silence the
> warnings, I'd need to do any of the following:

I suggest to use:
#include <inttypes.h>

int
main (void)
{
  int64_t var;

  printf ( PRIi64, var);
  ...
}

The PRT* macros from inttypes.h and the standard integer types from
<stdint.h> will do the magic for you,

Andreas
-- 
 Andreas Jaeger, Director Platform / openSUSE, aj@xxxxxxx
  SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
   Maxfeldstr. 5, 90409 Nürnberg, Germany
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
< Previous Next >
Follow Ups
References