1 2 3 4 5 6 7
#include <iostream> int main() { std::cout << __GNUC__ << "." << __GNUC_MINOR__ << "." << __GNUC_PATCHLEVEL__; }
1
4.1.2