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


Yes, but our internal RSC doesn't support #pragma once ;)

On 19.03.2013 07:53, vincent wrote:
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
Clang <http://en.wikipedia.org/wiki/Clang>        Supported^[7]
<http://en.wikipedia.org/wiki/Pragma_once#cite_note-7>
Comeau C/C++ <http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B>
Supported^[8] <http://en.wikipedia.org/wiki/Pragma_once#cite_note-8>
Digital Mars C++
<http://en.wikipedia.org/w/index.php?title=Digital_Mars_C%2B%2B&action=edit&redlink=1>
        Supported^[9] <http://en.wikipedia.org/wiki/Pragma_once#cite_note-9>
GCC <http://en.wikipedia.org/wiki/GNU_Compiler_Collection>
Supported^[10] <http://en.wikipedia.org/wiki/Pragma_once#cite_note-10>
Intel C++ Compiler
<http://en.wikipedia.org/wiki/Intel_C%2B%2B_Compiler>     Supported^[11]
<http://en.wikipedia.org/wiki/Pragma_once#cite_note-11>
Microsoft Visual C++
<http://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B>   Supported^[12]
<http://en.wikipedia.org/wiki/Pragma_once#cite_note-12>
C++Builder XE3
<http://en.wikipedia.org/w/index.php?title=C%2B%2BBuilder_XE3&action=edit&redlink=1>
        Supported^[13] <http://en.wikipedia.org/wiki/Pragma_once#cite_note-13>

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



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.