Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit c8afd2d8 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-a/2631-check-compilers' into 'dev'

vidjil.cpp: warns when clang or gcc is too old

Closes #2631

See merge request !74
parents 6e62b4cc 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
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment