Windows compilation problem
David Holmes
david.holmes at oracle.com
Tue Dec 9 19:30:55 UTC 2014
Hi Thomas,
On 9/12/2014 9:59 PM, Thomas Stüfe wrote:
> Hi David,
>
> Everything before the precompiled header gets ignored, I think.
Thank you! Now I recall that little detail on windows.
David
> Cheers, Thomas
>
> On Dec 9, 2014 10:12 AM, "David Holmes" <david.holmes at oracle.com
> <mailto:david.holmes at oracle.com>> wrote:
>
> This is driving me nuts :)
>
> Here's the code from start of file (header excluded):
>
> #include "utilities/macros.hpp"
>
> #if INCLUDE_NMT
> #include "precompiled.hpp"
>
> #include "oops/instanceKlass.hpp"
> #include "runtime/atomic.hpp"
> #include "runtime/interfaceSupport.hpp"
> #include "runtime/mutexLocker.hpp"
> #include "runtime/safepoint.hpp"
> #include "runtime/threadCritical.hpp"
> #include "runtime/vm_operations.hpp"
> #include "services/memPtr.hpp"
> #include "services/memReporter.hpp"
> #endif
> #include "services/memTracker.hpp"
>
> And here's the error:
>
> C:\jprt\T\P1\085339.daholme\s\__hotspot\src\share\vm\services\__memTracker.cpp(38)
> : fatal error C1020: unexpected #endif
>
> ???
>
> 8u codebase.
>
> Any insight appreciated.
>
> Thanks,
> David
>
More information about the build-dev
mailing list