Warning: Use of old-cast style – Bitwise operation

  arm, bitwise-operators, c++, keil

I get this warning when i try to rewrite my C code in C++ for this line: Warning: Use of old-cast style .

What would be the new-cast style for this expression?

RCC->AHB1ENR |= LED_PORT_CLOCK;

Source: Windows Questions C++

LEAVE A COMMENT