-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
error: ‘exchange’ is not a member of ‘std’ #26
Comments
As indicated in https://en.cppreference.com/w/cpp/error/unexpected_handler , |
Isn't that a duplicate of your other report, issue #27 ? |
Hello Stephane, |
This should be fixed by e7a4dae |
Dear Stephane,
First, thank you very much for your work on darknet, darkhelp and darkmark.
These are fantastic tools.
I encounter a compilation error
error: ‘exchange’ is not a member of ‘std’
aftercloning the repo, mkdir build && cd build, cmake .., and cmake --build .
The files concerned by the error are:
-../JuceLibraryCode/modules/juce_gui_basics/misc/juce_DropShadower.cpp
-../JuceLibraryCode/modules/juce_gui_basics/native/juce_linux_Windowing.cpp
-../JuceLibraryCode/modules/juce_gui_basics/windows/juce_ComponentPeer.h
In https://en.cppreference.com/w/cpp/utility/exchange, exchange is defined in utility header.
After having included
#include <utility>
, the errors disappear.Take good care,
Kevin
The text was updated successfully, but these errors were encountered: