#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/.

Sylvain Munaut 246tnt at gmail.com
Mon Nov 4 09:18:04 UTC 2013


Hi,

> 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.

What about other compilers ?

I'm thinking on particular of people building part of it on Windows ?
(VCC is pretty much out already but what about ICC ?)

Cheers,

   Sylvain




More information about the baseband-devel mailing list