Browse Source

Fixed the printing of errors during compilation of native symbols.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/778/head
Dimitar Dobrev 9 years ago
parent
commit
96aa703b60
  1. 2
      src/Core/Diagnostics.cs

2
src/Core/Diagnostics.cs

@ -94,7 +94,7 @@ namespace CppSharp @@ -94,7 +94,7 @@ namespace CppSharp
var diagInfo = new DiagnosticInfo
{
Kind = DiagnosticKind.Error,
Message = string.Format(msg, args)
Message = args.Any() ? string.Format(msg, args) : msg
};
Implementation.Emit(diagInfo);

Loading…
Cancel
Save