Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


HI,

I found some wiki about "#pragma once" compiler support
http://en.wikipedia.org/wiki/Pragma_once#Portability 

http://en.wikipedia.org/wiki/Pragma_once#Portability 
Compiler#pragma once
ClangSupported[7]
Comeau C/C++Supported[8]
Digital Mars C++Supported[9]
GCCSupported[10]
Intel C++ CompilerSupported[11]
Microsoft Visual C++Supported[12]
C++Builder XE3Supported[13]


http://stackoverflow.com/questions/10990488/how-to-include-header-files-more-clearly-in-c/10990521#10990521
 

Thanks,





vincent

From: Tor Lillqvist
Date: 2013-03-19 13:51
To: Norbert Thiebaud
CC: libreoffice; Lubos Lunak
Subject: Re: #ifdef vs #if for feature checks
otoh, #pragma once is supported by all the compiler we use isn't it ?

Excellent! Let's do that, unless somebody comes up with a
counter-argument in a week or so.

--tml
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.