diff options
author | Alistair John Strachan <s0348365@sms.ed.ac.uk> | 2006-12-12 13:28:50 -0500 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-12-12 13:28:50 -0500 |
commit | 53569ab7851fd564427f7529b17162cba9a28407 (patch) | |
tree | b62783b40395572e6d71af71963b961e12edd8d3 /include/linux | |
parent | 979c6a1e49875e9277b5113295a48d5641f02465 (diff) |
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: Alistair John Strachan <s0348365@sms.ed.ac.uk>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 538423d4a865..aca66984aafd 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -40,7 +40,7 @@ extern void __chk_io_ptr(void __iomem *); | |||
40 | #error no compiler-gcc.h file for this gcc version | 40 | #error no compiler-gcc.h file for this gcc version |
41 | #elif __GNUC__ == 4 | 41 | #elif __GNUC__ == 4 |
42 | # include <linux/compiler-gcc4.h> | 42 | # include <linux/compiler-gcc4.h> |
43 | #elif __GNUC__ == 3 | 43 | #elif __GNUC__ == 3 && __GNUC_MINOR__ >= 2 |
44 | # include <linux/compiler-gcc3.h> | 44 | # include <linux/compiler-gcc3.h> |
45 | #else | 45 | #else |
46 | # error Sorry, your compiler is too old/not recognized. | 46 | # error Sorry, your compiler is too old/not recognized. |