Commit 85ad008b authored by Dominik Charousset's avatar Dominik Charousset

moved {src => .}/get_compiler_version.cpp

parent 692e4119
#include <iostream>
using namespace std;
int main() {
# ifdef __clang__
cout << __clang_major__
<< "."
<< __clang_minor__
<< endl;
# elif defined(__GNUC__)
cout << __GNUC__
<< "."
<< __GNUC_MINOR__
<< endl;
# else
cout << "0.0" << endl;
# endif
return 0;
}
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