11 years, 7 months ago.

#pragma once in SerialPipe.cpp

Hi,

Maybe this just shows my ignorance about c++ but what does the #pragma once mean in SerialPipe.cpp.

As far as I understand it is used in header files to prevent multiple inclusion. Is this meant to be here? If so what does it do?

Thanks in advance Richard

Question relating to:

http://infocenter.arm.com/help/topic/com.arm.doc.dui0491c/DUI0491C_arm_compiler_reference.pdf section 5.91 - as you say for header files usually though...

posted by D J 17 Dec 2014
Be the first to answer this question.