Skip to content
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

For gaea C5 cce make template, set HAVE_GETTID macro #52

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

ceblanton
Copy link
Contributor

#42 C5's environment contains its own gettid Linux system call available in the GNU standard library.

More details: NOAA-GFDL/FMS#276

The error one sees is:
src/FMS/affinity/affinity.c:55:14: error: static declaration of 'gettid' follows non-static declaration static pid_t gettid(void)
^
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration is here
extern __pid_t gettid (void) __THROW;
^
1 error generated.

C5's environment contains its own gettid Linux system call
available in the GNU standard library.

More details: NOAA-GFDL/FMS#276

The error one sees is:
src/FMS/affinity/affinity.c:55:14: error: static declaration of 'gettid' follows non-static declaration
static pid_t gettid(void)
             ^
             /usr/include/bits/unistd_ext.h:34:16: note: previous declaration is here
             extern __pid_t gettid (void) __THROW;
                            ^
                            1 error generated.
@ceblanton ceblanton merged commit a984532 into NOAA-GFDL:master Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant