bug-gnulib
[Top][All Lists]
Advanced

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

open_safer on amd64


From: Sergey Poznyakoff
Subject: open_safer on amd64
Date: Thu, 21 May 2009 00:13:26 +0300

Hello,

When trying to compile open-safer.c on amd64 I get:

open-safer.c: In function 'open_safer':
open-safer.c:46: warning: 'mode_t' is promoted to 'int' when passed
through '...'
open-safer.c:46: warning: (so you should pass 'int' not 'mode_t' to
'va_arg')
open-safer.c:46: note: if this code is reached, the program will abort

This is gnulib v0.0.2009-5a128.  The compiler used was gcc v. 4.2.1.

Regards,
Sergey




reply via email to

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