Russell Johnson writes:
> [[S/MIME Signed Part:Undecided]]
> Apologies. Here you go.
>
> From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001
> From: Russell Johnson
> Date: Tue, 14 Jun 2022 08:10:14 -0600
> Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe
Apologies. Here you go.
From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001
From: Russell Johnson
Date: Tue, 14 Jun 2022 08:10:14 -0600
Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some
point in the future with the C2X standard
Signed-off-by:
Jan Kiszka writes:
> On 14.06.22 16:18, Russell Johnson via Xenomai wrote:
>> From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001
>> From: Russell Johnson
>> Date: Tue, 14 Jun 2022 08:10:14 -0600
>> Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some
On 14.06.22 16:18, Russell Johnson via Xenomai wrote:
> From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001
> From: Russell Johnson
> Date: Tue, 14 Jun 2022 08:10:14 -0600
> Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some
> point in the future with
Russell Johnson writes:
> [[S/MIME Signed Part:Undecided]]
> From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001
> From: Russell Johnson
> Date: Tue, 14 Jun 2022 08:10:14 -0600
> Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some
> point in the
From 452e8b2ca8ecd53571a6b1f5d8b9ab23cd67f99d Mon Sep 17 00:00:00 2001
From: Russell Johnson
Date: Tue, 14 Jun 2022 08:10:14 -0600
Subject: [PATCH] fixing conflict with C++ [[fallthough]], and maybe at some
point in the future with the C2X standard
---
benchmarks/hectic.c| 10 +-
Russell Johnson writes:
> [[S/MIME Signed Part:Undecided]]
> This is what I have been using. I have tested it and it seems to work fine.
>
> Thanks,
>
> Russell
>
> diff --git a/benchmarks/hectic.c b/benchmarks/hectic.c
> index 6b6b3b5..886f7d2 100644
> --- a/benchmarks/hectic.c
> +++
This is what I have been using. I have tested it and it seems to work fine.
Thanks,
Russell
diff --git a/benchmarks/hectic.c b/benchmarks/hectic.c
index 6b6b3b5..886f7d2 100644
--- a/benchmarks/hectic.c
+++ b/benchmarks/hectic.c
@@ -336,7 +336,7 @@ static void *sleeper_switcher(void *cookie)
Julien Blanc writes:
> Le mardi 14 juin 2022 à 09:44 +, Bezdeka, Florian a écrit :
>>
>> Based on the kernel's fallthrough, introducing evl_fallthrough would
>> avoid all kinds of conflicts (IMHO):
>>
>> #ifndev evl_fallthrough
>> #if __has_attribute(__fallthrough__)
>> # define
Le mardi 14 juin 2022 à 09:44 +, Bezdeka, Florian a écrit :
>
> Based on the kernel's fallthrough, introducing evl_fallthrough would
> avoid all kinds of conflicts (IMHO):
>
> #ifndev evl_fallthrough
> #if __has_attribute(__fallthrough__)
> # define evl_fallthrough
On Tue, 2022-06-14 at 11:01 +0200, Philippe Gerum via Xenomai wrote:
> Julien Blanc writes:
>
> > Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit :
> > > Julien Blanc <
> > > julien.bl...@sprinte.eu
> > > > writes:
> > >
> > > > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a
Julien Blanc writes:
> Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit :
>> Julien Blanc <
>> julien.bl...@sprinte.eu
>> > writes:
>>
>> > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit :
>> > > Julien Blanc via Xenomai
>> > > > #define __fallthrough
On Tue, 2022-06-14 at 08:29 +, Julien Blanc via Xenomai wrote:
> Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit :
> > Julien Blanc <
> > julien.bl...@sprinte.eu
> > > writes:
> >
> > > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit :
> > > > Julien Blanc via Xenomai
Le mardi 14 juin 2022 à 10:04 +0200, Philippe Gerum a écrit :
> Julien Blanc <
> julien.bl...@sprinte.eu
> > writes:
>
> > Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit :
> > > Julien Blanc via Xenomai
> > > > #define __fallthrough __attribute__((fallthrough))
> > > >
> > >
> >
Julien Blanc writes:
> Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit :
>> Julien Blanc via Xenomai
>> >
>> > #define __fallthrough __attribute__((fallthrough))
>> >
>>
>> 6.39. attribute syntax
>> https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax
Le mardi 14 juin 2022 à 08:54 +0200, Philippe Gerum a écrit :
> Julien Blanc via Xenomai
> >
> > #define __fallthrough __attribute__((fallthrough))
> >
>
> 6.39. attribute syntax
> https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html#Attribute-Syntax
>
Not sure what you mean with
Julien Blanc via Xenomai writes:
> Le lundi 13 juin 2022 à 14:39 +, Russell Johnson via Xenomai a
> écrit :
>> I use boost throughout my entire app, so I need
>> to figure how to get both of these libraries to play nice with each
>> other. Any ideas? ( I am using gcc 8.3 and boost 1.70.0)
I agree with your proposed fix.
-Original Message-
From: Julien Blanc
Sent: Monday, June 13, 2022 9:17 AM
To: Russell Johnson ; xenomai@xenomai.org
Subject: [External] - Re: compile conflict with Boost
CAUTION: This email originated from outside of the organization. Do not click
Le lundi 13 juin 2022 à 14:39 +, Russell Johnson via Xenomai a
écrit :
> I use boost throughout my entire app, so I need
> to figure how to get both of these libraries to play nice with each
> other. Any ideas? ( I am using gcc 8.3 and boost 1.70.0)
>
> /opt/evl/include/evl/compiler.h:64:36:
I have a class that includes both and some boost headers.
Whenever I go to compile it, I get an error that looks like it has to do
with the definition of "fallthrough" in conflicting with the
definition of "fallthrough" in Boost. It compiles fine if there is no Boost
header in the class. I use
20 matches
Mail list logo