We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
git - develop
c++ -std=c++11 -O2 -g -Wall -Wextra -D_WITH_SQLITE -Iskein/Optimized_32bit -I/usr/include -I/usr/include/lua5.1 -c /home/dc/src/ptokax-svn/core/DcCommands.cpp -o /home/dc/src/ptokax-svn/obj/DcCommands.o In file included from /home/dc/src/ptokax-svn/core/DcCommands.cpp:40:0: /home/dc/src/ptokax-svn/core/../json/json.hpp:76:36: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas] #pragma GCC diagnostic ignored "-Wdocumentation"
c++ --version c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc.
The text was updated successfully, but these errors were encountered:
Related to #391. I did not know -Wdocumentation is a Clang-only flag.
-Wdocumentation
Sorry, something went wrong.
🚑 fix for #393
b8776e8
Fixed the code by only using the pragma when Clang is used.
Thanks for finding and fixing this!
nlohmann
No branches or pull requests
git - develop
c++ -std=c++11 -O2 -g -Wall -Wextra -D_WITH_SQLITE -Iskein/Optimized_32bit -I/usr/include -I/usr/include/lua5.1 -c /home/dc/src/ptokax-svn/core/DcCommands.cpp -o /home/dc/src/ptokax-svn/obj/DcCommands.o
In file included from /home/dc/src/ptokax-svn/core/DcCommands.cpp:40:0:
/home/dc/src/ptokax-svn/core/../json/json.hpp:76:36: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
#pragma GCC diagnostic ignored "-Wdocumentation"
c++ --version
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
The text was updated successfully, but these errors were encountered: