[Webkit-unassigned] [Bug 95736] hybridPixmap test fails to compile

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 6 04:15:08 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=95736





--- Comment #4 from Simon Hausmann <hausmann at webkit.org>  2012-09-06 04:15:22 PST ---
I think I've found the reason as to why you're seeing this and I don't. Here's a simplified test-case to illustrate the issue. Imagine the following directory / file structure:

   main.cpp
   somedirectory\someheader.h
   anotherheader.h

Suppose someheader.h contains #include "anotherheader.h" and main.cpp includes "someheader.h".

When someheader.h is pre-processed the pre-processor will look for anotherheader.h first inside somedirectory. After that GNU CPP stops, whereas MSVC continues "in the directories of any previously opened include files in the reverse order in which they were opened" (from http://msdn.microsoft.com/en-us/library/36k2cdd4.aspx ). qmake seems to have a mechanism for g++ on Linux to make sure that at least the initial "source" directory is in the include search paths, covering this particular issue, but that doesn't seem to be in place for windows builds. Maybe because MSVC doesn't need it, but then it's leaving out g++ on Windows. I'll dig a bit further into qmake for this.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list