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

Build fails: error: use of undeclared identifier 'S_IRUSR' #760

Closed
yurivict opened this issue May 3, 2022 · 1 comment · Fixed by #906
Closed

Build fails: error: use of undeclared identifier 'S_IRUSR' #760

yurivict opened this issue May 3, 2022 · 1 comment · Fixed by #906

Comments

@yurivict
Copy link

yurivict commented May 3, 2022

/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:19: error: use of undeclared identifier 'S_IRUSR'
    mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
                  ^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:29: error: use of undeclared identifier 'S_IWUSR'
    mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
                            ^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:39: error: use of undeclared identifier 'S_IRGRP'
    mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
                                      ^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:49: error: use of undeclared identifier 'S_IWGRP'
    mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
                                                ^
/disk-samsung/freebsd-ports/x11-toolkits/pangolin/work/Pangolin-0.8/components/pango_core/src/threadedfilebuf.cpp:102:59: error: use of undeclared identifier 'S_IROTH'
    mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH;
                                                          ^
5 errors generated.

#include <sys/stat.h> is forgotten.

Version: 0.8
FreeBSD 13

@stevenlovegrove
Copy link
Owner

Thanks! I'll try to add this next time I remember or you could raise a pull request.

best

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 a pull request may close this issue.

2 participants