Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created February 26, 2014 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/9228460 to your computer and use it in GitHub Desktop.
Save cdeil/9228460 to your computer and use it in GitHub Desktop.
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -Icextern/cfitsio -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c cextern/cfitsio/imcompress.c -o build/temp.macosx-10.9-x86_64-2.7/cextern/cfitsio/imcompress.o -Wno-unused-variable -Wno-parentheses -Wno-uninitialized -Wno-format -Wno-strict-prototypes -Wno-unused -Wno-comments -Wno-switch -Wno-declaration-after-statement
cextern/cfitsio/imcompress.c:563:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cextern/cfitsio/imcompress.c:584:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cextern/cfitsio/imcompress.c:7253:58: warning: comparison of constant -2147483646 with expression of type 'unsigned char' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7280:62: warning: comparison of constant -2147483646 with expression of type 'unsigned char' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7331:58: warning: comparison of constant -2147483646 with expression of type 'short' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7358:76: warning: comparison of constant -2147483646 with expression of type 'short' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7487:72: warning: comparison of constant -2147483646 with expression of type 'unsigned char' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7514:76: warning: comparison of constant -2147483646 with expression of type 'unsigned char' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7565:72: warning: comparison of constant -2147483646 with expression of type 'short' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
cextern/cfitsio/imcompress.c:7592:76: warning: comparison of constant -2147483646 with expression of type 'short' is always false
[-Wtautological-constant-out-of-range-compare]
if (dither_method == SUBTRACTIVE_DITHER_2 && input[ii] == ZERO_VALUE)
~~~~~~~~~ ^ ~~~~~~~~~~
10 warnings generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment