-
Notifications
You must be signed in to change notification settings - Fork 857
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 Sep 10, 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 9289662 - Browse repository at this point
Copy the full SHA 9289662View 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 7166f62 - Browse repository at this point
Copy the full SHA 7166f62View 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 3c271b7 - Browse repository at this point
Copy the full SHA 3c271b7View 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 412cb74 - Browse repository at this point
Copy the full SHA 412cb74View 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 83c2101 - Browse repository at this point
Copy the full SHA 83c2101View 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 13e8ddb - Browse repository at this point
Copy the full SHA 13e8ddbView commit details