All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai] [Xenomai-git] Jan Kiszka : copperplate: Fix inclusion into C++ programs
       [not found] <E1WAhle-0006kK-1j@sd-51317.dedibox.fr>
@ 2014-02-04 15:25 ` Gilles Chanteperdrix
  2014-02-04 17:14   ` Jan Kiszka
  2014-02-04 17:38   ` Philippe Gerum
  0 siblings, 2 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2014-02-04 15:25 UTC (permalink / raw)
  To: xenomai

On 02/04/2014 04:18 PM, git repository hosting wrote:
> Module: xenomai-jki
> Branch: for-forge
> Commit: b202c018332568d8b7fb3236ad38d76240c32a3e
> URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=b202c018332568d8b7fb3236ad38d76240c32a3e
>
> Author: Jan Kiszka <jan.kiszka@siemens.com>
> Date:   Tue Feb  4 16:16:03 2014 +0100
>
> copperplate: Fix inclusion into C++ programs
>
> C++ requires explicit type casts

Are not heapobj.h and threadobj.h internal headers? Do we really have to 
uglify them with these useless explicit casts?

-- 
					    Gilles.


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

* Re: [Xenomai] [Xenomai-git] Jan Kiszka : copperplate: Fix inclusion into C++ programs
  2014-02-04 15:25 ` [Xenomai] [Xenomai-git] Jan Kiszka : copperplate: Fix inclusion into C++ programs Gilles Chanteperdrix
@ 2014-02-04 17:14   ` Jan Kiszka
  2014-02-04 17:38   ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2014-02-04 17:14 UTC (permalink / raw)
  To: Gilles Chanteperdrix, xenomai

On 2014-02-04 16:25, Gilles Chanteperdrix wrote:
> On 02/04/2014 04:18 PM, git repository hosting wrote:
>> Module: xenomai-jki
>> Branch: for-forge
>> Commit: b202c018332568d8b7fb3236ad38d76240c32a3e
>> URL:   
>> http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=b202c018332568d8b7fb3236ad38d76240c32a3e
>>
>>
>> Author: Jan Kiszka <jan.kiszka@siemens.com>
>> Date:   Tue Feb  4 16:16:03 2014 +0100
>>
>> copperplate: Fix inclusion into C++ programs
>>
>> C++ requires explicit type casts
> 
> Are not heapobj.h and threadobj.h internal headers? Do we really have to
> uglify them with these useless explicit casts?

Do you see a way to prevent the inclusion of these headers when pulling
in - in this case - alchemy/task.h?

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux


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

* Re: [Xenomai] [Xenomai-git] Jan Kiszka : copperplate: Fix inclusion into C++ programs
  2014-02-04 15:25 ` [Xenomai] [Xenomai-git] Jan Kiszka : copperplate: Fix inclusion into C++ programs Gilles Chanteperdrix
  2014-02-04 17:14   ` Jan Kiszka
@ 2014-02-04 17:38   ` Philippe Gerum
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2014-02-04 17:38 UTC (permalink / raw)
  To: Gilles Chanteperdrix, xenomai

On 02/04/2014 04:25 PM, Gilles Chanteperdrix wrote:
> On 02/04/2014 04:18 PM, git repository hosting wrote:
>> Module: xenomai-jki
>> Branch: for-forge
>> Commit: b202c018332568d8b7fb3236ad38d76240c32a3e
>> URL:
>> http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=b202c018332568d8b7fb3236ad38d76240c32a3e
>>
>>
>> Author: Jan Kiszka <jan.kiszka@siemens.com>
>> Date:   Tue Feb  4 16:16:03 2014 +0100
>>
>> copperplate: Fix inclusion into C++ programs
>>
>> C++ requires explicit type casts
>
> Are not heapobj.h and threadobj.h internal headers? Do we really have to
> uglify them with these useless explicit casts?
>

Unfortunately anything below include/copperplate may be pulled by API 
headers. I don't see any other way to cope with this non-sense except 
moving this stuff out of line, which would be quite overkill.

-- 
Philippe.


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

end of thread, other threads:[~2014-02-04 17:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1WAhle-0006kK-1j@sd-51317.dedibox.fr>
2014-02-04 15:25 ` [Xenomai] [Xenomai-git] Jan Kiszka : copperplate: Fix inclusion into C++ programs Gilles Chanteperdrix
2014-02-04 17:14   ` Jan Kiszka
2014-02-04 17:38   ` 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.