octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warnings when installing the control pkg


From: Carnë Draug
Subject: Re: warnings when installing the control pkg
Date: Thu, 10 Jan 2019 15:56:28 +0000

On Thu, 10 Jan 2019 at 15:52, Doug Stewart <address@hidden> wrote:
>
> I am seeing these new warnings.
> any suggestion on how to fix it will be muchly  appreciated.
>
>
>
> common.cc:96:18: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 4 has type ‘octave_idx_type’ {aka ‘longint’} [-Wformat=]
> common.cc:96:18: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 5 has type ‘octave_idx_type’ {aka ‘longint’} [-Wformat=]
> common.cc:98:18: warning: format ‘%d’ expects argument of type ‘int’, but 
> argument 3 has type ‘octave_idx_type’ {aka ‘longint’} [-Wformat=]
>          warning ("%s: unknown warning, iwarn = %d", name, index);

On the image package, I fixed it like this

http://hg.code.sf.net/p/octave/image/rev/30c5b43bce2f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]