From: Vadim Zeitlin Date: Thu, 9 Mar 2000 16:31:35 +0000 (+0000) Subject: explain why quotes/brackets should be used in #includes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/793867a736dc75f9f9e600d86002df166b2502fa 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 --- diff --git a/docs/html/standard.htm b/docs/html/standard.htm index 0f2b556230..9bd3acac53 100644 --- a/docs/html/standard.htm +++ b/docs/html/standard.htm @@ -764,8 +764,8 @@ the right header for given platform. Any new headers should conform to this setup as well to allow including <wx/foo.h> on any platform.

Note that wxWindows implementation files should use quotes when including wxWindows -headers, not angled brackets. Applications should use angled brackets. There -is a reason for it (can anyone remember what this is?). +headers, not angled brackets. Applications should use angled brackets. This +ensures that the dependencies are correctly handled by the compiler.

  • Include guards

    To minimize the compile time C++ programmers often use so called include