#pragma once (Re: COMP128v23)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

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