On 05/04/2017, 01:29, "Dmitry Eremin-Solenikov" <[email protected]> wrote: >On 05.04.2017 01:00, Brian Brooks wrote: >> On Tue, Apr 4, 2017 at 3:38 PM, Ola Liljedahl <[email protected]> >>wrote: >>> On 04/04/2017, 22:14, "Dmitry Eremin-Solenikov" >>> <[email protected]> wrote: >>>> On 04.04.2017 21:48, Brian Brooks wrote: > >>>>> +#endif >>>>> + >>>>> +#if __ARM_ARCH == 8 && __ARM_64BIT_STATE == 1 >>>> >>>> #elif here please. >>> Brian this one is for you! :-) >> >> I am not sure where you are requesting the #elif, Dmitry. The first >> block is for ARMv7 and AArch32, and the second block is for AArch64. >> Each block is wrapped in a #if XYZ ... #endif. It's symmetrical. > >Yep. However it is more common (at least I'm more used to) having the >following code. It is more error prone and easier to follow. I assume you mean the style below is more *robust*? And/or errors are more easily detected/reported (handled by the #else/#error statements)? > >#if XYZ >#elif FOO >#elif ABC >#else >#error unsupported beast! >#endif > > >-- >With best wishes >Dmitry
- Re: [lng-odp] [API-NEXT PATCH v2 13/16] Add a... Dmitry Eremin-Solenikov
- Re: [lng-odp] [API-NEXT PATCH v2 13/16] A... Ola Liljedahl
- Re: [lng-odp] [API-NEXT PATCH v2 13/1... Dmitry Eremin-Solenikov
- Re: [lng-odp] [API-NEXT PATCH v2 ... Ola Liljedahl
- [lng-odp] [API-NEXT PATCH v2 12/16] Add LL/SC and ... Brian Brooks
- Re: [lng-odp] [API-NEXT PATCH v2 12/16] Add L... Maxim Uvarov
- Re: [lng-odp] [API-NEXT PATCH v2 12/16] Add L... Dmitry Eremin-Solenikov
- Re: [lng-odp] [API-NEXT PATCH v2 12/16] A... Ola Liljedahl
- Re: [lng-odp] [API-NEXT PATCH v2 12/1... Brian Brooks
- Re: [lng-odp] [API-NEXT PATCH v2 ... Dmitry Eremin-Solenikov
- Re: [lng-odp] [API-NEXT PATC... Ola Liljedahl
- Re: [lng-odp] [API-NEXT ... Dmitry Eremin-Solenikov
- Re: [lng-odp] [API-NEXT ... Brian Brooks
- Re: [lng-odp] [API-NEXT PATCH v2 12/1... Ola Liljedahl
- Re: [lng-odp] [API-NEXT PATCH v2 12/16] A... Ola Liljedahl
- Re: [lng-odp] [API-NEXT PATCH v2 12/1... Dmitry Eremin-Solenikov
- [lng-odp] [API-NEXT PATCH v2 14/16] Add atomic ops... Brian Brooks
- [lng-odp] [API-NEXT PATCH v2 15/16] Add llqueue, a... Brian Brooks
- Re: [lng-odp] [API-NEXT PATCH v2 15/16] Add l... Maxim Uvarov
- Re: [lng-odp] [API-NEXT PATCH v2 15/16] A... Brian Brooks
- Re: [lng-odp] [API-NEXT PATCH v2 15/16] A... Dmitry Eremin-Solenikov
