diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-10-09 10:40:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-09 10:40:27 -0400 |
| commit | ae7d58b1a559d36c602bf6b1d8e396324cc34003 (patch) | |
| tree | 0b23079d8b7b3ed37eee90084664bef64b299ed8 /source | |
| parent | 714b7505b84cd27ad828e231da04ae6b28a2f13a (diff) | |
Small improvements for premake linking on linux (#1958)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Small improvements to premake for linux around linking.
* Link with pthread of slang-glslang.
Diffstat (limited to 'source')
| -rw-r--r-- | source/compiler-core/slang-downstream-compiler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/compiler-core/slang-downstream-compiler.h b/source/compiler-core/slang-downstream-compiler.h index ed932a5c9..1e6571e0f 100644 --- a/source/compiler-core/slang-downstream-compiler.h +++ b/source/compiler-core/slang-downstream-compiler.h @@ -67,12 +67,12 @@ struct DownstreamDiagnostic /// Given diagnostics in inText that are colon delimited, use lineParser to do per line parsing. static SlangResult parseColonDelimitedDiagnostics(const UnownedStringSlice& inText, Int pathIndex, LineParser lineParser, List<DownstreamDiagnostic>& outDiagnostics); - Severity severity; ///< The severity of error - Stage stage; ///< The stage the error came from - String text; ///< The text of the error - String code; ///< The compiler specific error code - String filePath; ///< The path the error originated from - Int fileLine; ///< The line number the error came from + Severity severity = Severity::Unknown; ///< The severity of error + Stage stage = Stage::Compile; ///< The stage the error came from + String text; ///< The text of the error + String code; ///< The compiler specific error code + String filePath; ///< The path the error originated from + Int fileLine = 0; ///< The line number the error came from }; struct DownstreamDiagnostics |
