16/01/2018 00:59, Thomas Monjalon:
> The macros dsb and dmb are defined as an instruction block with braces.
> As a consequence, when it is used in if/else without brace:
> if (cond)
> rte_mb();
> else
> statement;
> the added semicolon is parsed outside of i
The macros dsb and dmb are defined as an instruction block with braces.
As a consequence, when it is used in if/else without brace:
if (cond)
rte_mb();
else
statement;
the added semicolon is parsed outside of if/else,
so the "else" cannot match the "i
2 matches
Mail list logo