Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91c4e2b

Browse files
committed
Patch from Rene Liebscher <[email protected]>, slightly modified and
commented by Fred Drake, to prevent usage of sufficiently broken GCC versions.
1 parent aef1000 commit 91c4e2b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

PC/config.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ compiler specific". Therefore, these should be very rare.
2626
2727
*/
2828

29+
/* Suggested by Rene Liebscher <[email protected]> to avoid a GCC 2.91.*
30+
bug that requires structure imports. More recent versions of the
31+
compiler don't exhibit this bug.
32+
*/
33+
#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
34+
#error "Please use an up-to-date version of gcc"
35+
#endif
36+
2937
/*
3038
Some systems require special declarations for data items imported
3139
or exported from dynamic link libraries. Note that the definition

0 commit comments

Comments
 (0)