Change 28592 by [EMAIL PROTECTED] on 2006/07/17 06:51:54

        Cygwin doesn't cope (yet) with gcc flags -std=c89

Affected files ...

... //depot/perl/cflags.SH#31 edit

Differences ...

==== //depot/perl/cflags.SH#31 (xtext) ====
Index: perl/cflags.SH
--- perl/cflags.SH#30~28577~    2006-07-15 04:45:15.000000000 -0700
+++ perl/cflags.SH      2006-07-16 23:51:54.000000000 -0700
@@ -98,7 +98,10 @@
 12]*) ;; # Go easy on the older versions of gcc.
 *) case "$cc" in
    *g++*) ;;
-   *) stdflags="$stdflags -std=c89" ;;
+   *) case "$osname" in
+      cygwin) ;; # Fails at least up to and including 1.5.20
+      *) stdflags="$stdflags -std=c89" ;;
+      esac
    esac
    ;;
 esac
End of Patch.

Reply via email to