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

4.034 fails to build: error: use of undeclared identifier 'WIFEXITED' #2351

Closed
yurivict opened this issue May 23, 2020 · 3 comments
Closed
Labels
area: portability Issue involves operating system/compiler portability resolution: fixed Closed; fixed

Comments

@yurivict
Copy link
Contributor

../V3Os.cpp:349:17: error: use of undeclared identifier 'WIFEXITED' 
        UASSERT(WIFEXITED(ret), "system(" << command << ") returned unexpected value of " << ret);
                ^
../V3Os.cpp:350:31: error: use of undeclared identifier 'WEXITSTATUS'
        const int exit_code = WEXITSTATUS(ret);
                              ^
2 errors generated.
@yurivict yurivict added the new New issue not seen by maintainers label May 23, 2020
@yurivict
Copy link
Contributor Author

#include <sys/wait.h> is missing.

@wsnyder wsnyder added area: portability Issue involves operating system/compiler portability and removed new New issue not seen by maintainers labels May 23, 2020
@yurivict
Copy link
Contributor Author

#2353

@wsnyder
Copy link
Member

wsnyder commented May 23, 2020

Thanks, fixed with #2353

@wsnyder wsnyder closed this as completed May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: portability Issue involves operating system/compiler portability resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants