All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] CONFIG_XENO_OPT_SYS_STACKPOOLSZ warning
@ 2008-10-03  9:52 Laurent BESSARD
  2008-10-03  9:54 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent BESSARD @ 2008-10-03  9:52 UTC (permalink / raw)
  To: xenomai

Hello all,

Recently, I tried to compile a driver for Xenomai and I received this 
warning while trying to include rtdm_driver.h:
In file included from /usr/xenomai/include/nucleus/xenomai.h:25,
                 from /usr/xenomai/include/rtdm/rtdm_driver.h:37
/usr/xenomai/include/nucleus/heap.h:110:5: warning: 
"CONFIG_XENO_OPT_SYS_STACKPOOLSZ" is not defined

This symbol is provided by kernel config while compiling kernel, but 
doesn't exist in any other context.

It would solve the problem if heap.h test if this symbol exist before 
trying to use it, or define a default value for this symbol like:

#ifndef CONFIG_XENO_OPT_SYS_STACKPOOLSZ
#define CONFIG_XENO_OPT_SYS_STACKPOOLSZ 0
#endif

Thanks,

Laurent

-- 
LOLITech - TBI sarl
24, rue Pierre Evrat
88100 Saint-Dié des Vosges
tel: 03 29 52 95 67
fax: 03 29 58 93 16
laurent.bessard@domain.hid <mailto:laurent.bessard@domain.hid>
http://www.lolitech.fr 	<http://www.lolitech.fr>



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

end of thread, other threads:[~2008-10-03  9:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03  9:52 [Xenomai-help] CONFIG_XENO_OPT_SYS_STACKPOOLSZ warning Laurent BESSARD
2008-10-03  9:54 ` Gilles Chanteperdrix

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.