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