-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
#pragma GCC diagnostic ignored "-Wdocumentation" #393
Comments
Related to #391. I did not know |
Merged
Fixed the code by only using the pragma when Clang is used. |
Thanks for finding and fixing this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: