All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Problem with atomic_32.h when included from C++ source
@ 2008-07-21  6:05 Rob Wheeler
  2008-07-21  7:24 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Wheeler @ 2008-07-21  6:05 UTC (permalink / raw)
  To: xenomai

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

Hello,

I'm seeing an issue when trying to compile a C++ application that includes
native/task.h.  It eventually winds up including atomic_32.h which has a
function xnarch_atomic_cmpxchg which takes a function argument named 'new'.
This conflicts with the C++ compiler's reserved keyword and generates
compiler warnings.

-R

[-- Attachment #2: Type: text/html, Size: 390 bytes --]

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

* Re: [Xenomai-help] Problem with atomic_32.h when included from C++ source
  2008-07-21  6:05 [Xenomai-help] Problem with atomic_32.h when included from C++ source Rob Wheeler
@ 2008-07-21  7:24 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2008-07-21  7:24 UTC (permalink / raw)
  To: Rob Wheeler; +Cc: xenomai

Rob Wheeler wrote:
> Hello,
> 
> I'm seeing an issue when trying to compile a C++ application that
> includes native/task.h.  It eventually winds up including atomic_32.h
> which has a function xnarch_atomic_cmpxchg which takes a function
> argument named 'new'.  This conflicts with the C++ compiler's reserved
> keyword and generates compiler warnings.
>

Fixed in trunk. Thanks.

> -R
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


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

end of thread, other threads:[~2008-07-21  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-21  6:05 [Xenomai-help] Problem with atomic_32.h when included from C++ source Rob Wheeler
2008-07-21  7:24 ` Philippe Gerum

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.