All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Minor issue: compiler warning on rtdm.h
@ 2007-07-17  8:26 Johan Borkhuis
  2007-07-17 15:16 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Borkhuis @ 2007-07-17  8:26 UTC (permalink / raw)
  To: xenomai-core

When compiling with an extended warnings I get the following warning:

/nfsroot/common/usr/xenomai/include/rtdm/rtdm.h: In function 
'rt_dev_sendto':
/nfsroot/common/usr/xenomai/include/rtdm/rtdm.h:323: warning: missing 
initializer
/nfsroot/common/usr/xenomai/include/rtdm/rtdm.h:323: warning: (near 
initialization for 'msg.msg_flags')

The structure-type msghdr has 7 elements, but the initializer only has 6 
elements.

Kind regard,
    Johan Borkhuis


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-core] Minor issue: compiler warning on rtdm.h
  2007-07-17  8:26 [Xenomai-core] Minor issue: compiler warning on rtdm.h Johan Borkhuis
@ 2007-07-17 15:16 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2007-07-17 15:16 UTC (permalink / raw)
  To: Johan Borkhuis; +Cc: xenomai-core

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Johan Borkhuis wrote:
> When compiling with an extended warnings I get the following warning:
> 
> /nfsroot/common/usr/xenomai/include/rtdm/rtdm.h: In function 
> 'rt_dev_sendto':
> /nfsroot/common/usr/xenomai/include/rtdm/rtdm.h:323: warning: missing 
> initializer
> /nfsroot/common/usr/xenomai/include/rtdm/rtdm.h:323: warning: (near 
> initialization for 'msg.msg_flags')
> 
> The structure-type msghdr has 7 elements, but the initializer only has 6 
> elements.

Yeah, known problem under pedantic compiler switches. But it's already
fixed in upcoming 2.4, I was likely just to lazy to back-port it.

Thanks nevertheless,
Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-17 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17  8:26 [Xenomai-core] Minor issue: compiler warning on rtdm.h Johan Borkhuis
2007-07-17 15:16 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.