Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
9a52002c
There was an error fetching the commit references. Please try again later.
Commit
9a52002c
authored
7 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Added check for include <regex>
parent
7bd25c03
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/maketools/plumedcheck
+4
-0
4 additions, 0 deletions
src/maketools/plumedcheck
with
4 additions
and
0 deletions
src/maketools/plumedcheck
+
4
−
0
View file @
9a52002c
...
@@ -278,6 +278,10 @@ BEGINFILE{
...
@@ -278,6 +278,10 @@ BEGINFILE{
# DOC: E.g., use `#include <cstdlib>` instead of `#include <stdlib.h>`. Notice that
# DOC: E.g., use `#include <cstdlib>` instead of `#include <stdlib.h>`. Notice that
# DOC: using the modern header all the functions are declared inside the `std` namespace.
# DOC: using the modern header all the functions are declared inside the `std` namespace.
if
(
h
in
deprecated_headers
)
error
(
"deprecated_header"
,
"including deprecated header "
h
);
if
(
h
in
deprecated_headers
)
error
(
"deprecated_header"
,
"including deprecated header "
h
);
# DOC: :unsupported_header_regex:
# DOC: Header `<regex>`, although part of the C++11 standard, is not supported by gcc 4.8.
# DOC: In order to allow compatibility with old compilers, this header should not be used.
if
(
h
==
"regex"
)
error
(
"unsupported_header_regex"
,
"including unsupported header "
h
);
# DOC: :external_header: (style)
# DOC: :external_header: (style)
# DOC: Header files should possibly not include other header files from external libraries.
# DOC: Header files should possibly not include other header files from external libraries.
# DOC: Indeed, once PLUMED is installed, if paths are not set correctly the include files of the other libraries
# DOC: Indeed, once PLUMED is installed, if paths are not set correctly the include files of the other libraries
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment