Commit 53569ab7 authored by Alistair John Strachan's avatar Alistair John Strachan Committed by Adrian Bunk

include/linux/compiler.h: reject gcc 3 < gcc 3.2

The kernel doesn't compile with GCC <3.2, do not allow it to succeed if GCC
3.0.x or 3.1.x are used.
Signed-off-by: default avatarAlistair John Strachan <s0348365@sms.ed.ac.uk>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 979c6a1e
...@@ -40,7 +40,7 @@ extern void __chk_io_ptr(void __iomem *); ...@@ -40,7 +40,7 @@ extern void __chk_io_ptr(void __iomem *);
#error no compiler-gcc.h file for this gcc version #error no compiler-gcc.h file for this gcc version
#elif __GNUC__ == 4 #elif __GNUC__ == 4
# include <linux/compiler-gcc4.h> # include <linux/compiler-gcc4.h>
#elif __GNUC__ == 3 #elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2
# include <linux/compiler-gcc3.h> # include <linux/compiler-gcc3.h>
#else #else
# error Sorry, your compiler is too old/not recognized. # error Sorry, your compiler is too old/not recognized.
......
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