Compile with gcc 4.8 (dotnet/coreclr#27625)
* Remove VOID on parameters
* Detect compiler support
* Clarify version
In file included from coreclr/src/vm/dumpdiagnosticprotocolhelper.h:11:0,
from coreclr/src/vm/dumpdiagnosticprotocolhelper.cpp:7:
coreclr/src/vm/diagnosticsprotocol.h: In member function ‘bool DiagnosticsIpc::IpcMessage::Initialize(HRESULT)’:
coreclr/src/vm/diagnosticsprotocol.h:239:56: error: call of overloaded ‘Initialize(const DiagnosticsIpc::IpcHeader&, HRESULT&)’ is ambiguous
return Initialize(GenericErrorHeader, error);
^
coreclr/src/vm/diagnosticsprotocol.h:239:56: note: candidates are:
coreclr/src/vm/diagnosticsprotocol.h:196:14: note: bool DiagnosticsIpc::IpcMessage::Initialize(DiagnosticsIpc::IpcHeader, T&) [with T = int]
bool Initialize(IpcHeader header, T& payload)
^
coreclr/src/vm/diagnosticsprotocol.h:213:14: note: bool DiagnosticsIpc::IpcMessage::Initialize(DiagnosticsIpc::IpcHeader, T&&) [with T = int&]
bool Initialize(IpcHeader header, T&& payload)
^
Commit migrated from https://github.com/dotnet/coreclr/commit/
1b53ff1e38f774bb50666ffc5a2595996f90e8dd