diff options
author | bustico | 2013-11-25 10:43:04 +0000 |
---|---|---|
committer | bustico | 2013-11-25 10:43:04 +0000 |
commit | 3bba51658b025ee6075eb9ebfe0ee32ee8b2c750 (patch) | |
tree | 22d6408e755b99677e2905638279fc82b63c24b4 /tools/ivytestready.c | |
parent | 1fb1bb59c936ea4d752a12db3d73f490e5b7b6a1 (diff) | |
download | ivy-c-3bba51658b025ee6075eb9ebfe0ee32ee8b2c750.zip ivy-c-3bba51658b025ee6075eb9ebfe0ee32ee8b2c750.tar.gz ivy-c-3bba51658b025ee6075eb9ebfe0ee32ee8b2c750.tar.bz2 ivy-c-3bba51658b025ee6075eb9ebfe0ee32ee8b2c750.tar.xz |
° protect gcc pragma not available on old version of gcc
° tcl loop compiled for tcl8.4
Diffstat (limited to 'tools/ivytestready.c')
-rwxr-xr-x | tools/ivytestready.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ivytestready.c b/tools/ivytestready.c index 35e0eae..46fe1de 100755 --- a/tools/ivytestready.c +++ b/tools/ivytestready.c @@ -104,12 +104,12 @@ int main(int argc, char *argv[]) IvyInit (me, ready_message, NULL,NULL,NULL,NULL); IvySetBindCallback( binCB, 0 ); -#if defined(__GNUC__) +#if defined(__GNUC__) && __GNUC_PREREQ(4,7) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wformat-security" #endif IvyBindMsg (Ready, NULL, ready_bind); -#if defined(__GNUC__) +#if defined(__GNUC__) && __GNUC_PREREQ(4,7) #pragma GCC diagnostic pop #endif |