Mercurial > mxe-octave
annotate src/hdf5-1-fixes.patch @ 3689:155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Aug 2014 14:42:42 -0400 |
parents | |
children |
rev | line source |
---|---|
3689
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 diff -uNr a/config/gnu-flags b/config/gnu-flags |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 --- a/config/gnu-flags 2012-10-11 13:31:46.000000000 -0400 |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 +++ b/config/gnu-flags 2014-08-20 14:36:48.118651735 -0400 |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 @@ -146,7 +146,7 @@ |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 esac |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # General |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 - H5_CFLAGS="$H5_CFLAGS $arch -ansi -pedantic -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline" |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 + H5_CFLAGS="$H5_CFLAGS $arch -Wall -W -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline" |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 # Production |
155466c2f445
hdf5: don't use -ansi -pedantic compiler flags
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 case "$cc_vendor-$cc_version" in |