diff options
Diffstat (limited to 'source/core/platform.cpp')
| -rw-r--r-- | source/core/platform.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/core/platform.cpp b/source/core/platform.cpp index b96240def..d160fd37c 100644 --- a/source/core/platform.cpp +++ b/source/core/platform.cpp @@ -85,10 +85,13 @@ namespace Slang void* h = dlopen(platformFileName, RTLD_NOW | RTLD_LOCAL); if(!h) { +#if 0 + // We can't output the error message here, because it will cause output when testing what code gen is available if(auto msg = dlerror()) { fprintf(stderr, "error: %s\n", msg); } +#endif return SLANG_FAIL; } handleOut = (Handle)h; @@ -116,4 +119,4 @@ namespace Slang #endif // _WIN32 -}
\ No newline at end of file +} |
