]> git.ipfire.org Git - thirdparty/squid.git/commit
MacOS: workaround compiler errors and case-insensitivity
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 24 Feb 2013 07:26:26 +0000 (00:26 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 24 Feb 2013 07:26:26 +0000 (00:26 -0700)
commitc9c46c8bcdad822e65a54516f16fe4b7a3c0d680
treefd0b7f34a25c363368dfde093f9d4e07c0ebc4c7
parentbcc17f9c0c2d3fe4e17eb2709e24a747ce6065f9
MacOS: workaround compiler errors and case-insensitivity

MacOS GCC version implicitly searches the local directory for .h includes
despite the absence of -I. in the provided options.
Furthermore it searches with case-insensitive filenames due to the
underlying case-insensitive filesystem.

The combined result is that libacl .cc files include their local copy of
acl/Url.h instead of the base directories src/URL.h which was needed.

The long term fix will be to shuffle URL.h and its related code into
a convenience library. For now we can avoid issues by prefixing the full
src/ path to the includes.
src/acl/DomainData.cc
src/acl/Url.cc