Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
45b4a92e
Commit
45b4a92e
authored
Sep 14, 2017
by
Mathieu Giraud
Browse files
vidjil.cpp: warns when clang or gcc is too old
Closes
#2631
.
parent
1db9a920
Pipeline
#6474
passed with stages
in 19 minutes and 25 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
algo/core/check-compiler.h
0 → 100644
View file @
45b4a92e
// Check compiler
#if defined(__clang__)
#if (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) < 30300
#warning "Vidjil needs a C++11 compiler such as clang >= 3.3 - see http://vidjil.org/doc/algo.html"
#endif
#elif defined(__GNUC__)
#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40800
#warning "Vidjil needs a C++11 compiler such as gcc >= 4.8 - see http://vidjil.org/doc/algo.html"
#endif
#endif
algo/vidjil.cpp
View file @
45b4a92e
...
...
@@ -35,6 +35,7 @@
#include <sys/types.h>
#include <unistd.h>
#include "core/check-compiler.h"
#include "core/tools.h"
#include "core/json.h"
#include "core/germline.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment