On 05.04.2017 01:00, Brian Brooks wrote:
> On Tue, Apr 4, 2017 at 3:38 PM, Ola Liljedahl <ola.liljed...@arm.com> wrote:
>> On 04/04/2017, 22:14, "Dmitry Eremin-Solenikov"
>> <dmitry.ereminsoleni...@linaro.org> 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.

#if XYZ
#elif FOO
#elif ABC
#else
#error unsupported beast!
#endif


-- 
With best wishes
Dmitry

Reply via email to