-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require C11 #12660
base: main
Are you sure you want to change the base?
Require C11 #12660
Commits on Oct 9, 2024
-
Error out if the compiler does not support C11. Also removes support for `__thread` since we now rely on C11 `_Thread_local`. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d4bb04 - Browse repository at this point
Copy the full SHA 7d4bb04View commit details -
Replace typeof() with size_t in loop header
All uses of the `PREPARE_REQUESTS_WITH_NO_FREE` macro map to size_t. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca65d28 - Browse repository at this point
Copy the full SHA ca65d28View commit details -
Add feature test macro _POSIX_C_SOURCE to enable fileno()
Flex prior to 2.6.6 uses fileno() but does not define the needed feature test macros. See westes/flex#263 for details. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 288868e - Browse repository at this point
Copy the full SHA 288868eView commit details -
Add feature test macro to enable pthread_mutexattr_settype()
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1015ddf - Browse repository at this point
Copy the full SHA 1015ddfView commit details -
Enable nanosleep with _POSIX_C_SOURCE
Move calls to nanosleep out of headers and add the feature test macro _POSIX_C_SOURCE to enable its use. This should not cause any significant overheads. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 039cb58 - Browse repository at this point
Copy the full SHA 039cb58View commit details -
Reduce_local test: Add feature test macros
Needed for strsep(), posix_memalign(), and getopt(). Also fix the min/max macros. There is no need to cache the variables as these macros are used without producing side-effects. Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe06e48 - Browse repository at this point
Copy the full SHA fe06e48View commit details -
Include ompi_config.h in reduce_local.c
Signed-off-by: Joseph Schuchart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b21fc7a - Browse repository at this point
Copy the full SHA b21fc7aView commit details