Git commit 4f555d7f3437a985e3b719319d947ca36c3d5a42 by Aleix Pol, on behalf= of Aaron Puchert. Committed on 31/05/2017 at 21:35. Pushed by apol into branch 'master'. Fix list of available OpenCL C standards Summary: OpenCL C is based on the C99 standard, but doesn't conform with it. Instead there are dedicated OpenCL standards. This is still not entirely correct, since OpenCL requires the standard to be passed via -cl-std=3D... instead of -std=3D..., but fixing this requires additional changes. Reviewers: #kdevelop, apol Reviewed By: #kdevelop, apol Subscribers: apol, kdevelop-devel Differential Revision: https://phabricator.kde.org/D5978 M +1 -1 languages/plugins/custom-definesandincludes/compilerprovider= /settingsmanager.cpp M +3 -8 languages/plugins/custom-definesandincludes/kcm_widget/parse= rwidget.ui https://commits.kde.org/kdevelop/4f555d7f3437a985e3b719319d947ca36c3d5a42 diff --git a/languages/plugins/custom-definesandincludes/compilerprovider/s= ettingsmanager.cpp b/languages/plugins/custom-definesandincludes/compilerpr= ovider/settingsmanager.cpp index 7606111ea5..2423c4c73c 100644 --- a/languages/plugins/custom-definesandincludes/compilerprovider/settings= manager.cpp +++ b/languages/plugins/custom-definesandincludes/compilerprovider/settings= manager.cpp @@ -83,7 +83,7 @@ ParserArguments defaultArguments() const static ParserArguments arguments{ QStringLiteral("-ferror-limit=3D100 -fspell-checking -Wdocumentati= on -Wunused-parameter -Wunreachable-code -Wall -std=3Dc99"), QStringLiteral("-ferror-limit=3D100 -fspell-checking -Wdocumentati= on -Wunused-parameter -Wunreachable-code -Wall -std=3Dc++11"), - QStringLiteral("-ferror-limit=3D100 -fspell-checking -Wdocumentati= on -Wunused-parameter -Wunreachable-code -Wall -std=3Dc++11"), + QStringLiteral("-ferror-limit=3D100 -fspell-checking -Wdocumentati= on -Wunused-parameter -Wunreachable-code -Wall -std=3DCL1.1"), QStringLiteral("-ferror-limit=3D100 -fspell-checking -Wdocumentati= on -Wunused-parameter -Wunreachable-code -Wall -std=3Dc++11"), true }; diff --git a/languages/plugins/custom-definesandincludes/kcm_widget/parserw= idget.ui b/languages/plugins/custom-definesandincludes/kcm_widget/parserwid= get.ui index 9baa690ff4..6a756de371 100644 --- a/languages/plugins/custom-definesandincludes/kcm_widget/parserwidget.ui +++ b/languages/plugins/custom-definesandincludes/kcm_widget/parserwidget.ui @@ -211,22 +211,17 @@ - c++03 - - - - - c++11 + CL1.1 - c++14 + CL1.2 - c99 + CL2.0