Compile with gcc 4.8 (dotnet/coreclr#27625)
authorSinan Kaya <41809318+franksinankaya@users.noreply.github.com>
Sat, 2 Nov 2019 19:29:22 +0000 (15:29 -0400)
committerJan Kotas <jkotas@microsoft.com>
Sat, 2 Nov 2019 19:29:22 +0000 (12:29 -0700)
commitd8a0309ce1906e358cd1fe4de6a95710109a7dcf
treeaee1f5a7641467ed7d18f2a4a1eb06872458ed4c
parent7d24cea1bfa4c80d90926638effa5dbd31481126
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
src/coreclr/configurecompiler.cmake
src/coreclr/src/pal/inc/pal.h
src/coreclr/src/pal/inc/palprivate.h
src/coreclr/src/vm/diagnosticsprotocol.h
src/coreclr/src/vm/dumpdiagnosticprotocolhelper.cpp