Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Quickexit unavailable #1

Open
MRandl opened this issue Oct 10, 2022 · 0 comments
Open

Quickexit unavailable #1

MRandl opened this issue Oct 10, 2022 · 0 comments

Comments

@MRandl
Copy link

MRandl commented Oct 10, 2022

Hello,
When compiling the grading tests I get the following error :

grading.cpp:344:24: fatal error: reference to unresolved using declaration
::std::quick_exit(2);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstdlib:155:1: note: using declaration annotated with 'using_if_exists' here
using ::quick_exit _LIBCPP_USING_IF_EXISTS;

It seems that quick_exit is not included in MacOS ? Not sure about this.
Anyways, replacing it with ::std::exit(2) works fine, I'll go with that for now.

Best,
Mathis Randl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant