While migrating to engine version 4.11 and 4.12. My plugin now fails to compile with the following errors:
C:\Program Files\Epic Games\4.12\Engine\Source\Editor\UnrealEd\Classes/CookOnTheSide/CookOnTheFlyServer.h(561): error C2143: syntax error: missing ';' before '&'
1>C:\Program Files\Epic Games\4.12\Engine\Source\Editor\UnrealEd\Classes/CookOnTheSide/CookOnTheFlyServer.h(561): error C2248: 'FScopeLock::FScopeLock': cannot access private member declared in class 'FScopeLock'
1> C:\Program Files\Epic Games\4.12\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(1191): note: see declaration of 'FScopeLock::FScopeLock'
1> C:\Program Files\Epic Games\4.12\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(1167): note: see declaration of 'FScopeLock'
1>C:\Program Files\Epic Games\4.12\Engine\Source\Editor\UnrealEd\Classes/CookOnTheSide/CookOnTheFlyServer.h(566): error C2143: syntax error: missing ';' before '&'
1>C:\Program Files\Epic Games\4.12\Engine\Source\Editor\UnrealEd\Classes/CookOnTheSide/CookOnTheFlyServer.h(566): error C2248: 'FScopeLock::FScopeLock': cannot access private member declared in class 'FScopeLock'
1> C:\Program Files\Epic Games\4.12\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(1191): note: see declaration of 'FScopeLock::FScopeLock'
1> C:\Program Files\Epic Games\4.12\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(1167): note: see declaration of 'FScopeLock'
1>C:\Program Files\Epic Games\4.12\Engine\Source\Editor\UnrealEd\Classes/CookOnTheSide/CookOnTheFlyServer.h(586): error C2143: syntax error: missing ';' before '&'
1>C:\Program Files\Epic Games\4.12\Engine\Source\Editor\UnrealEd\Classes/CookOnTheSide/CookOnTheFlyServer.h(586): error C2248: 'FScopeLock::FScopeLock': cannot access private member declared in class 'FScopeLock'
1> C:\Program Files\Epic Games\4.12\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(1191): note: see declaration of 'FScopeLock::FScopeLock'
1> C:\Program Files\Epic Games\4.12\Engine\Source\Runtime\Core\Public\HAL\ThreadingBase.h(1167): note: see declaration of 'FScopeLock'
This is typically caused by a forgetting to include a file or missing forward declaration. However i have no clue what could be causing this error in the Core module. The plugin worked in 4.9/4.10. Any help would be appreciated. Thanks.