Wireshark mailing list archives
Re: Trunk Windows CMake builds are broken
From: "Shanks, Graham (UK)" <graham.shanks () baesystems com>
Date: Thu, 21 Aug 2014 10:18:51 +0000
On 21 August 2014 10:31, Graham Bloice <graham.bloice () trihedral com> wrote:
[snip] I've always had the idea that angle bracket form was for system or platform includes and quoted form for project includes, but maybe I was just confused.
Strictly speaking, according to the standard, both forms search “a sequence of implementation-defined places” for the defined header (not necessarily the same set of places for the different forms). The definition of these search sequences for Visual Studio 2010 can be found in http://msdn.microsoft.com/en-us/library/36k2cdd4(v=vs.100).aspx. GCC is similar (see http://gcc.gnu.org/onlinedocs/gcc-4.1.2/cpp/Include-Syntax.html) So generally the quoted form will search locally first (for a given value of locally) before searching in the specified include paths, whilst the angle bracket form will only search the specified include paths. However this is not guaranteed (so a perverse compiler might search your complete hard drive for a matching file!) Regards, Graham BAE Systems Integrated System Technologies Limited Registered Office: Warwick House, PO Box 87, Farnborough Aerospace Centre, Farnborough, Hants, GU14 6YU, UK Registered in England & Wales No: 3456325 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ********************************************************************
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Trunk Windows CMake builds are broken Guy Harris (Aug 21)
- Re: Trunk Windows CMake builds are broken Graham Bloice (Aug 21)
- Re: Trunk Windows CMake builds are broken Guy Harris (Aug 21)
- Re: Trunk Windows CMake builds are broken Graham Bloice (Aug 21)
- Re: Trunk Windows CMake builds are broken Shanks, Graham (UK) (Aug 21)
- Re: Trunk Windows CMake builds are broken Roland Knall (Aug 21)
- Re: Trunk Windows CMake builds are broken Shanks, Graham (UK) (Aug 21)
- Re: Trunk Windows CMake builds are broken Shanks, Graham (UK) (Aug 21)
- Re: Trunk Windows CMake builds are broken Graham Bloice (Aug 21)
- Re: Trunk Windows CMake builds are broken Gisle Vanem (Aug 21)
- Re: Trunk Windows CMake builds are broken Guy Harris (Aug 21)
- Re: Trunk Windows CMake builds are broken Gisle Vanem (Aug 21)
- Re: Trunk Windows CMake builds are broken Graham Bloice (Aug 22)
- Re: Trunk Windows CMake builds are broken Guy Harris (Aug 21)
- Re: Trunk Windows CMake builds are broken Graham Bloice (Aug 21)
- Re: Trunk Windows CMake builds are broken Graham Bloice (Aug 21)