#pragma once (Re: COMP128v23)

Harald Welte laforge at gnumonks.org
Sun Nov 3 18:13:24 UTC 2013


Hi Holger,

On Sun, Nov 03, 2013 at 06:49:45PM +0100, Holger Hans Peter Freyther wrote:
> I started to use "#pragma once" in my own header files and the PCU.
> This feature was introduced in gcc 3.4 (released in 2004). I would
> like to use it in future header files everywhere.

I don't see any problems, but then the gain from three fairly simple
lines to one line is not really all that big.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the baseband-devel mailing list