From: John Wolfe Date: Fri, 7 Aug 2020 19:03:25 +0000 (-0700) Subject: Backout the previous gcc-4.1 enforcement. X-Git-Tag: stable-11.2.0~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=563ab298de4a7d25355fd7768542b655660e22b9;p=thirdparty%2Fopen-vm-tools.git Backout the previous gcc-4.1 enforcement. --- diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index 2ee482da3..fd5b4c2ba 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -727,16 +727,14 @@ typedef void * UserVA; /* * At present, we effectively require a compiler that is at least - * gcc-4.1 (circa 2006). Enforce this here, various things below + * gcc-3.3 (circa 2003). Enforce this here, various things below * this line depend upon it. * - * Current oldest compilers: - * - guest tools: 4.1.2 (freebsd/solaris) - * - buildhost compiler: 4.4.3 - * - hosted kernel modules: 4.5 + * In practice, most things presently compile with gcc-4.1 or gcc-4.4. + * The various linux kernel modules may use older (gcc-3.3) compilers. */ -#if defined __GNUC__ && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)) -#error "gcc version is too old to compile assembly, need gcc-4.1 or better" +#if defined __GNUC__ && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 3)) +#error "gcc version is too old to compile assembly, need gcc-3.3 or better" #endif /*