]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 3794: MacOS: workaround compiler errors and case-insensitivity
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 25 Feb 2013 03:47:25 +0000 (20:47 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 25 Feb 2013 03:47:25 +0000 (20:47 -0700)
commit03e07797948860a5a80fd244a26babe819cd9414
treef252fd0cc8fca2e38a18ab7e21dd7870a35a2a0b
parent416374778ab3b84eb29ad428c2eddf2856b2ce76
Bug 3794: 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