explain why quotes/brackets should be used in #includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-09 16:31:35 +00:00
parent c5d3832cfe
commit 793867a736

View File

@@ -764,8 +764,8 @@ the right header for given platform. Any new headers should conform to this
setup as well to allow including <TT>&lt;wx/foo.h&gt;</TT> on any platform.<P> setup as well to allow including <TT>&lt;wx/foo.h&gt;</TT> on any platform.<P>
Note that wxWindows implementation files should use quotes when including wxWindows Note that wxWindows implementation files should use quotes when including wxWindows
headers, not angled brackets. Applications should use angled brackets. There headers, not angled brackets. Applications should use angled brackets. This
is a reason for it (can anyone remember what this is?). ensures that the dependencies are correctly handled by the compiler.
<P><LI><A NAME="include_guards"></LI><B>Include guards</B><P> <P><LI><A NAME="include_guards"></LI><B>Include guards</B><P>
To minimize the compile time C++ programmers often use so called include To minimize the compile time C++ programmers often use so called include