Skip to content
Snippets Groups Projects
Commit f4dd7a72 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamOpenID: changed Error to Warning

parent 74cbbea7
No related branches found
No related tags found
1 merge request!102M214003/develop
......@@ -671,11 +671,17 @@ streamOpenID(const char *filename, char filemode, int filetype, int resH)
#ifndef HAVE_NC4HDF5_THREADSAFE
if (CDI_Threadsafe)
{
#ifndef HAVE_LIBPTHREAD
Error("CDI threadsafe failed, pthread support not compiled in!");
#endif
#ifdef HAVE_LIBPTHREAD
if (filetype == CDI_FILETYPE_NC4 || filetype == CDI_FILETYPE_NC4C || filetype == CDI_FILETYPE_NCZARR)
streamptr->lockIO = true;
#else
static bool lwarn = true;
if (lwarn)
{
lwarn = false;
Warning("CDI threadsafe failed, pthread support not compiled in!");
}
#endif
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment