Hi David, Everything before the precompiled header gets ignored, I think.
Cheers, Thomas On Dec 9, 2014 10:12 AM, "David Holmes" <david.hol...@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 >